home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-11-08 | 920.5 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Oct 8 11:43:10 1993, modified Mon Nov 8 06:23:27 1993, creator 'HLX2', type 'ONLN', 921407 bytes "Component Manager" , at 0xe0fbf 20871 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 43 6f 6d 70 6f 6e | 65 6e 74 20 4d 61 6e 61 |..Compon|ent Mana|
|00000010| 67 65 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ger.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 0e 0f 3f 00 | 00 51 87 a8 db 3b 0e a9 |......?.|.Q...;..|
|00000060| 03 dc af 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 63 9c 00 00 |........|....c...|
|00000080| 0d 43 6f 6d 70 6f 6e 65 | 6e 74 20 4d 61 6e 61 67 |.Compone|nt Manag|
|00000090| 65 72 0d f0 09 41 70 70 | 6c 65 20 43 6f 6d 70 75 |er...App|le Compu|
|000000a0| 74 65 72 2c 20 49 6e 63 | 2e 0d a9 20 3c 24 79 65 |ter, Inc|... <$ye|
|000000b0| 61 72 3e 2c 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |ar>, App|le Compu|
|000000c0| 74 65 72 2c 20 49 6e 63 | 2e 0d 41 6c 6c 20 72 69 |ter, Inc|..All ri|
|000000d0| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 20 0d |ghts res|erved. .|
|000000e0| 4e 6f 20 70 61 72 74 20 | 6f 66 20 74 68 69 73 20 |No part |of this |
|000000f0| 70 75 62 6c 69 63 61 74 | 69 6f 6e 20 6d 61 79 20 |publicat|ion may |
|00000100| 62 65 20 72 65 70 72 6f | 64 75 63 65 64 2c 20 73 |be repro|duced, s|
|00000110| 74 6f 72 65 64 20 69 6e | 20 61 20 72 65 74 72 69 |tored in| a retri|
|00000120| 65 76 61 6c 20 73 79 73 | 74 65 6d 2c 20 6f 72 20 |eval sys|tem, or |
|00000130| 74 72 61 6e 73 6d 69 74 | 74 65 64 2c 20 69 6e 20 |transmit|ted, in |
|00000140| 61 6e 79 20 66 6f 72 6d | 20 6f 72 20 62 79 20 61 |any form| or by a|
|00000150| 6e 79 20 6d 65 61 6e 73 | 2c 20 6d 65 63 68 61 6e |ny means|, mechan|
|00000160| 69 63 61 6c 2c 20 65 6c | 65 63 74 72 6f 6e 69 63 |ical, el|ectronic|
|00000170| 2c 20 70 68 6f 74 6f 63 | 6f 70 79 69 6e 67 2c 20 |, photoc|opying, |
|00000180| 72 65 63 6f 72 64 69 6e | 67 2c 20 6f 72 20 6f 74 |recordin|g, or ot|
|00000190| 68 65 72 77 69 73 65 2c | 20 77 69 74 68 6f 75 74 |herwise,| without|
|000001a0| 20 70 72 69 6f 72 20 77 | 72 69 74 74 65 6e 20 70 | prior w|ritten p|
|000001b0| 65 72 6d 69 73 73 69 6f | 6e 20 6f 66 20 41 70 70 |ermissio|n of App|
|000001c0| 6c 65 20 43 6f 6d 70 75 | 74 65 72 2c 20 49 6e 63 |le Compu|ter, Inc|
|000001d0| 2e 20 50 72 69 6e 74 65 | 64 20 69 6e 20 74 68 65 |. Printe|d in the|
|000001e0| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 6f | United |States o|
|000001f0| 66 20 41 6d 65 72 69 63 | 61 2e 0d 54 68 65 20 41 |f Americ|a..The A|
|00000200| 70 70 6c 65 20 6c 6f 67 | 6f 20 69 73 20 61 20 72 |pple log|o is a r|
|00000210| 65 67 69 73 74 65 72 65 | 64 20 74 72 61 64 65 6d |egistere|d tradem|
|00000220| 61 72 6b 20 6f 66 20 41 | 70 70 6c 65 20 43 6f 6d |ark of A|pple Com|
|00000230| 70 75 74 65 72 2c 20 49 | 6e 63 2e 20 0d 55 73 65 |puter, I|nc. .Use|
|00000240| 20 6f 66 20 74 68 65 20 | d2 6b 65 79 62 6f 61 72 | of the |.keyboar|
|00000250| 64 d3 20 41 70 70 6c 65 | 20 6c 6f 67 6f 20 28 4f |d. Apple| logo (O|
|00000260| 70 74 69 6f 6e 2d 53 68 | 69 66 74 2d 4b 29 20 66 |ption-Sh|ift-K) f|
|00000270| 6f 72 20 63 6f 6d 6d 65 | 72 63 69 61 6c 20 70 75 |or comme|rcial pu|
|00000280| 72 70 6f 73 65 73 20 77 | 69 74 68 6f 75 74 20 74 |rposes w|ithout t|
|00000290| 68 65 20 70 72 69 6f 72 | 20 77 72 69 74 74 65 6e |he prior| written|
|000002a0| 20 63 6f 6e 73 65 6e 74 | 20 6f 66 20 41 70 70 6c | consent| of Appl|
|000002b0| 65 20 6d 61 79 20 63 6f | 6e 73 74 69 74 75 74 65 |e may co|nstitute|
|000002c0| 20 74 72 61 64 65 6d 61 | 72 6b 20 69 6e 66 72 69 | tradema|rk infri|
|000002d0| 6e 67 65 6d 65 6e 74 20 | 61 6e 64 20 75 6e 66 61 |ngement |and unfa|
|000002e0| 69 72 20 63 6f 6d 70 65 | 74 69 74 69 6f 6e 20 69 |ir compe|tition i|
|000002f0| 6e 20 76 69 6f 6c 61 74 | 69 6f 6e 20 6f 66 20 66 |n violat|ion of f|
|00000300| 65 64 65 72 61 6c 20 61 | 6e 64 20 73 74 61 74 65 |ederal a|nd state|
|00000310| 20 6c 61 77 73 2e 20 0d | 4e 6f 20 6c 69 63 65 6e | laws. .|No licen|
|00000320| 73 65 73 2c 20 65 78 70 | 72 65 73 73 20 6f 72 20 |ses, exp|ress or |
|00000330| 69 6d 70 6c 69 65 64 2c | 20 61 72 65 20 67 72 61 |implied,| are gra|
|00000340| 6e 74 65 64 20 77 69 74 | 68 20 72 65 73 70 65 63 |nted wit|h respec|
|00000350| 74 20 74 6f 20 61 6e 79 | 20 6f 66 20 74 68 65 20 |t to any| of the |
|00000360| 74 65 63 68 6e 6f 6c 6f | 67 79 20 64 65 73 63 72 |technolo|gy descr|
|00000370| 69 62 65 64 20 69 6e 20 | 74 68 69 73 20 62 6f 6f |ibed in |this boo|
|00000380| 6b 2e 20 41 70 70 6c 65 | 20 72 65 74 61 69 6e 73 |k. Apple| retains|
|00000390| 20 61 6c 6c 20 69 6e 74 | 65 6c 6c 65 63 74 75 61 | all int|ellectua|
|000003a0| 6c 20 70 72 6f 70 65 72 | 74 79 20 72 69 67 68 74 |l proper|ty right|
|000003b0| 73 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |s associ|ated wit|
|000003c0| 68 20 74 68 65 20 74 65 | 63 68 6e 6f 6c 6f 67 79 |h the te|chnology|
|000003d0| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 74 68 | describ|ed in th|
|000003e0| 69 73 20 62 6f 6f 6b 2e | 20 54 68 69 73 20 62 6f |is book.| This bo|
|000003f0| 6f 6b 20 69 73 20 69 6e | 74 65 6e 64 65 64 20 74 |ok is in|tended t|
|00000400| 6f 20 61 73 73 69 73 74 | 20 61 70 70 6c 69 63 61 |o assist| applica|
|00000410| 74 69 6f 6e 20 64 65 76 | 65 6c 6f 70 65 72 73 20 |tion dev|elopers |
|00000420| 74 6f 20 64 65 76 65 6c | 6f 70 20 61 70 70 6c 69 |to devel|op appli|
|00000430| 63 61 74 69 6f 6e 73 20 | 6f 6e 6c 79 20 66 6f 72 |cations |only for|
|00000440| 20 41 70 70 6c 65 20 4d | 61 63 69 6e 74 6f 73 68 | Apple M|acintosh|
|00000450| 20 63 6f 6d 70 75 74 65 | 72 73 2e 0d 41 70 70 6c | compute|rs..Appl|
|00000460| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|00000470| 0d 32 30 35 32 35 20 4d | 61 72 69 61 6e 69 20 41 |.20525 M|ariani A|
|00000480| 76 65 6e 75 65 0d 43 75 | 70 65 72 74 69 6e 6f 2c |venue.Cu|pertino,|
|00000490| 20 43 41 20 39 35 30 31 | 34 0d 34 30 38 2d 39 39 | CA 9501|4.408-99|
|000004a0| 36 2d 31 30 31 30 0d 41 | 70 70 6c 65 2c 20 74 68 |6-1010.A|pple, th|
|000004b0| 65 20 41 70 70 6c 65 20 | 6c 6f 67 6f 2c 20 41 50 |e Apple |logo, AP|
|000004c0| 44 41 2c 20 41 70 70 6c | 65 4c 69 6e 6b 2c 20 41 |DA, Appl|eLink, A|
|000004d0| 70 70 6c 65 53 68 61 72 | 65 2c 20 41 70 70 6c 65 |ppleShar|e, Apple|
|000004e0| 54 61 6c 6b 2c 20 45 74 | 68 65 72 54 61 6c 6b 2c |Talk, Et|herTalk,|
|000004f0| 20 49 6d 61 67 65 57 72 | 69 74 65 72 2c 20 4c 61 | ImageWr|iter, La|
|00000500| 73 65 72 57 72 69 74 65 | 72 2c 20 4c 6f 63 61 6c |serWrite|r, Local|
|00000510| 54 61 6c 6b 2c 20 4d 61 | 63 69 6e 74 6f 73 68 2c |Talk, Ma|cintosh,|
|00000520| 20 4d 50 57 2c 20 53 74 | 79 6c 65 57 72 69 74 65 | MPW, St|yleWrite|
|00000530| 72 2c 20 61 6e 64 20 54 | 6f 6b 65 6e 54 61 6c 6b |r, and T|okenTalk|
|00000540| 20 61 72 65 20 74 72 61 | 64 65 6d 61 72 6b 73 20 | are tra|demarks |
|00000550| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000560| 72 2c 20 49 6e 63 2e 2c | 20 72 65 67 69 73 74 65 |r, Inc.,| registe|
|00000570| 72 65 64 20 69 6e 20 74 | 68 65 20 55 6e 69 74 65 |red in t|he Unite|
|00000580| 64 20 53 74 61 74 65 73 | 20 61 6e 64 20 6f 74 68 |d States| and oth|
|00000590| 65 72 20 63 6f 75 6e 74 | 72 69 65 73 2e 0d 41 70 |er count|ries..Ap|
|000005a0| 70 6c 65 20 44 65 73 6b | 74 6f 70 20 42 75 73 2c |ple Desk|top Bus,|
|000005b0| 20 42 61 6c 6c 6f 6f 6e | 20 48 65 6c 70 2c 20 42 | Balloon| Help, B|
|000005c0| 61 6c 6c 6f 6f 6e 57 72 | 69 74 65 72 2c 20 43 68 |alloonWr|iter, Ch|
|000005d0| 69 63 61 67 6f 2c 20 46 | 69 6e 64 65 72 2c 20 47 |icago, F|inder, G|
|000005e0| 65 6e 65 76 61 2c 20 4b | 61 6e 6a 69 54 61 6c 6b |eneva, K|anjiTalk|
|000005f0| 2c 20 51 75 69 63 6b 44 | 72 61 77 2c 20 51 75 69 |, QuickD|raw, Qui|
|00000600| 63 6b 54 69 6d 65 2c 20 | 52 65 73 45 64 69 74 2c |ckTime, |ResEdit,|
|00000610| 20 53 79 73 74 65 6d 20 | 37 2c 20 61 6e 64 20 53 | System |7, and S|
|00000620| 79 73 74 65 6d 20 37 2e | 30 20 61 72 65 20 74 72 |ystem 7.|0 are tr|
|00000630| 61 64 65 6d 61 72 6b 73 | 20 6f 66 20 41 70 70 6c |ademarks| of Appl|
|00000640| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|00000650| 0d 41 64 6f 62 65 20 49 | 6c 6c 75 73 74 72 61 74 |.Adobe I|llustrat|
|00000660| 6f 72 20 61 6e 64 20 50 | 6f 73 74 53 63 72 69 70 |or and P|ostScrip|
|00000670| 74 20 61 72 65 20 74 72 | 61 64 65 6d 61 72 6b 73 |t are tr|ademarks|
|00000680| 20 6f 66 20 41 64 6f 62 | 65 20 53 79 73 74 65 6d | of Adob|e System|
|00000690| 73 20 49 6e 63 6f 72 70 | 6f 72 61 74 65 64 2c 20 |s Incorp|orated, |
|000006a0| 77 68 69 63 68 20 6d 61 | 79 20 62 65 20 72 65 67 |which ma|y be reg|
|000006b0| 69 73 74 65 72 65 64 20 | 69 6e 20 63 65 72 74 61 |istered |in certa|
|000006c0| 69 6e 20 6a 75 72 69 73 | 64 69 63 74 69 6f 6e 73 |in juris|dictions|
|000006d0| 2e 0d 41 47 46 41 20 69 | 73 20 61 20 74 72 61 64 |..AGFA i|s a trad|
|000006e0| 65 6d 61 72 6b 20 6f 66 | 20 41 67 66 61 2d 47 65 |emark of| Agfa-Ge|
|000006f0| 76 61 65 72 74 2e 0d 41 | 6d 65 72 69 63 61 20 4f |vaert..A|merica O|
|00000700| 6e 6c 69 6e 65 20 69 73 | 20 61 20 73 65 72 76 69 |nline is| a servi|
|00000710| 63 65 20 6d 61 72 6b 20 | 6f 66 20 51 75 61 6e 74 |ce mark |of Quant|
|00000720| 75 6d 20 43 6f 6d 70 75 | 74 65 72 20 53 65 72 76 |um Compu|ter Serv|
|00000730| 69 63 65 73 2c 20 49 6e | 63 2e 0d 43 6f 6d 70 75 |ices, In|c..Compu|
|00000740| 53 65 72 76 65 20 69 73 | 20 61 20 72 65 67 69 73 |Serve is| a regis|
|00000750| 74 65 72 65 64 20 73 65 | 72 76 69 63 65 20 6d 61 |tered se|rvice ma|
|00000760| 72 6b 20 6f 66 20 43 6f | 6d 70 75 53 65 72 76 65 |rk of Co|mpuServe|
|00000770| 2c 20 49 6e 63 2e 20 0d | 46 72 61 6d 65 4d 61 6b |, Inc. .|FrameMak|
|00000780| 65 72 20 69 73 20 61 20 | 72 65 67 69 73 74 65 72 |er is a |register|
|00000790| 65 64 20 74 72 61 64 65 | 6d 61 72 6b 20 6f 66 20 |ed trade|mark of |
|000007a0| 46 72 61 6d 65 20 54 65 | 63 68 6e 6f 6c 6f 67 79 |Frame Te|chnology|
|000007b0| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2e 0d 48 65 | Corpora|tion..He|
|000007c0| 6c 76 65 74 69 63 61 20 | 61 6e 64 20 50 61 6c 61 |lvetica |and Pala|
|000007d0| 74 69 6e 6f 20 61 72 65 | 20 72 65 67 69 73 74 65 |tino are| registe|
|000007e0| 72 65 64 20 74 72 61 64 | 65 6d 61 72 6b 73 20 6f |red trad|emarks o|
|000007f0| 66 20 4c 69 6e 6f 74 79 | 70 65 20 43 6f 6d 70 61 |f Linoty|pe Compa|
|00000800| 6e 79 2e 0d 49 6e 74 65 | 72 6e 65 74 20 69 73 20 |ny..Inte|rnet is |
|00000810| 61 20 74 72 61 64 65 6d | 61 72 6b 20 6f 66 20 44 |a tradem|ark of D|
|00000820| 69 67 69 74 61 6c 20 45 | 71 75 69 70 6d 65 6e 74 |igital E|quipment|
|00000830| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2e 20 0d 49 | Corpora|tion. .I|
|00000840| 54 43 20 5a 61 70 66 20 | 44 69 6e 67 62 61 74 73 |TC Zapf |Dingbats|
|00000850| 20 69 73 20 61 20 72 65 | 67 69 73 74 65 72 65 64 | is a re|gistered|
|00000860| 20 74 72 61 64 65 6d 61 | 72 6b 20 6f 66 20 49 6e | tradema|rk of In|
|00000870| 74 65 72 6e 61 74 69 6f | 6e 61 6c 20 54 79 70 65 |ternatio|nal Type|
|00000880| 66 61 63 65 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |face Cor|poration|
|00000890| 2e 0d 53 69 6d 75 6c 74 | 61 6e 65 6f 75 73 6c 79 |..Simult|aneously|
|000008a0| 20 70 75 62 6c 69 73 68 | 65 64 20 69 6e 20 74 68 | publish|ed in th|
|000008b0| 65 20 55 6e 69 74 65 64 | 20 53 74 61 74 65 73 20 |e United| States |
|000008c0| 61 6e 64 20 43 61 6e 61 | 64 61 2e 0d 4c 49 4d 49 |and Cana|da..LIMI|
|000008d0| 54 45 44 20 57 41 52 52 | 41 4e 54 59 20 4f 4e 20 |TED WARR|ANTY ON |
|000008e0| 4d 45 44 49 41 20 41 4e | 44 20 52 45 50 4c 41 43 |MEDIA AN|D REPLAC|
|000008f0| 45 4d 45 4e 54 0d 49 66 | 20 79 6f 75 20 64 69 73 |EMENT.If| you dis|
|00000900| 63 6f 76 65 72 20 70 68 | 79 73 69 63 61 6c 20 64 |cover ph|ysical d|
|00000910| 65 66 65 63 74 73 20 69 | 6e 20 74 68 65 20 6d 61 |efects i|n the ma|
|00000920| 6e 75 61 6c 20 6f 72 20 | 69 6e 20 74 68 65 20 6d |nual or |in the m|
|00000930| 65 64 69 61 20 6f 6e 20 | 77 68 69 63 68 20 61 20 |edia on |which a |
|00000940| 73 6f 66 74 77 61 72 65 | 20 70 72 6f 64 75 63 74 |software| product|
|00000950| 20 69 73 20 64 69 73 74 | 72 69 62 75 74 65 64 2c | is dist|ributed,|
|00000960| 20 41 50 44 41 20 77 69 | 6c 6c 20 72 65 70 6c 61 | APDA wi|ll repla|
|00000970| 63 65 20 74 68 65 20 6d | 65 64 69 61 20 6f 72 20 |ce the m|edia or |
|00000980| 6d 61 6e 75 61 6c 20 61 | 74 20 6e 6f 20 63 68 61 |manual a|t no cha|
|00000990| 72 67 65 20 74 6f 20 79 | 6f 75 20 70 72 6f 76 69 |rge to y|ou provi|
|000009a0| 64 65 64 20 79 6f 75 20 | 72 65 74 75 72 6e 20 74 |ded you |return t|
|000009b0| 68 65 20 69 74 65 6d 20 | 74 6f 20 62 65 20 72 65 |he item |to be re|
|000009c0| 70 6c 61 63 65 64 20 77 | 69 74 68 20 70 72 6f 6f |placed w|ith proo|
|000009d0| 66 20 6f 66 20 70 75 72 | 63 68 61 73 65 20 74 6f |f of pur|chase to|
|000009e0| 20 41 50 44 41 2e 0d 41 | 4c 4c 20 49 4d 50 4c 49 | APDA..A|LL IMPLI|
|000009f0| 45 44 20 57 41 52 52 41 | 4e 54 49 45 53 20 4f 4e |ED WARRA|NTIES ON|
|00000a00| 20 54 48 49 53 20 4d 41 | 4e 55 41 4c 2c 20 49 4e | THIS MA|NUAL, IN|
|00000a10| 43 4c 55 44 49 4e 47 20 | 49 4d 50 4c 49 45 44 20 |CLUDING |IMPLIED |
|00000a20| 57 41 52 52 41 4e 54 49 | 45 53 20 4f 46 20 4d 45 |WARRANTI|ES OF ME|
|00000a30| 52 43 48 41 4e 54 41 42 | 49 4c 49 54 59 20 41 4e |RCHANTAB|ILITY AN|
|00000a40| 44 20 46 49 54 4e 45 53 | 53 20 46 4f 52 20 41 20 |D FITNES|S FOR A |
|00000a50| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00000a60| 53 45 2c 20 41 52 45 20 | 4c 49 4d 49 54 45 44 20 |SE, ARE |LIMITED |
|00000a70| 49 4e 20 44 55 52 41 54 | 49 4f 4e 20 54 4f 20 4e |IN DURAT|ION TO N|
|00000a80| 49 4e 45 54 59 20 28 39 | 30 29 20 44 41 59 53 20 |INETY (9|0) DAYS |
|00000a90| 46 52 4f 4d 20 54 48 45 | 20 44 41 54 45 20 4f 46 |FROM THE| DATE OF|
|00000aa0| 20 54 48 45 20 4f 52 49 | 47 49 4e 41 4c 20 52 45 | THE ORI|GINAL RE|
|00000ab0| 54 41 49 4c 20 50 55 52 | 43 48 41 53 45 20 4f 46 |TAIL PUR|CHASE OF|
|00000ac0| 20 54 48 49 53 20 50 52 | 4f 44 55 43 54 2e 0d 45 | THIS PR|ODUCT..E|
|00000ad0| 76 65 6e 20 74 68 6f 75 | 67 68 20 41 70 70 6c 65 |ven thou|gh Apple|
|00000ae0| 20 68 61 73 20 72 65 76 | 69 65 77 65 64 20 74 68 | has rev|iewed th|
|00000af0| 69 73 20 6d 61 6e 75 61 | 6c 2c 20 41 50 50 4c 45 |is manua|l, APPLE|
|00000b00| 20 4d 41 4b 45 53 20 4e | 4f 20 57 41 52 52 41 4e | MAKES N|O WARRAN|
|00000b10| 54 59 20 4f 52 20 52 45 | 50 52 45 53 45 4e 54 41 |TY OR RE|PRESENTA|
|00000b20| 54 49 4f 4e 2c 20 45 49 | 54 48 45 52 20 45 58 50 |TION, EI|THER EXP|
|00000b30| 52 45 53 53 20 4f 52 20 | 49 4d 50 4c 49 45 44 2c |RESS OR |IMPLIED,|
|00000b40| 20 57 49 54 48 20 52 45 | 53 50 45 43 54 20 54 4f | WITH RE|SPECT TO|
|00000b50| 20 54 48 49 53 20 4d 41 | 4e 55 41 4c 2c 20 49 54 | THIS MA|NUAL, IT|
|00000b60| 53 20 51 55 41 4c 49 54 | 59 2c 20 41 43 43 55 52 |S QUALIT|Y, ACCUR|
|00000b70| 41 43 59 2c 20 4d 45 52 | 43 48 41 4e 54 41 42 49 |ACY, MER|CHANTABI|
|00000b80| 4c 49 54 59 2c 20 4f 52 | 20 46 49 54 4e 45 53 53 |LITY, OR| FITNESS|
|00000b90| 20 46 4f 52 20 41 20 50 | 41 52 54 49 43 55 4c 41 | FOR A P|ARTICULA|
|00000ba0| 52 20 50 55 52 50 4f 53 | 45 2e 20 41 53 20 41 20 |R PURPOS|E. AS A |
|00000bb0| 52 45 53 55 4c 54 2c 20 | 54 48 49 53 20 4d 41 4e |RESULT, |THIS MAN|
|00000bc0| 55 41 4c 20 49 53 20 53 | 4f 4c 44 20 d2 41 53 20 |UAL IS S|OLD .AS |
|00000bd0| 49 53 2c d3 20 41 4e 44 | 20 59 4f 55 2c 20 54 48 |IS,. AND| YOU, TH|
|00000be0| 45 20 50 55 52 43 48 41 | 53 45 52 2c 20 41 52 45 |E PURCHA|SER, ARE|
|00000bf0| 20 41 53 53 55 4d 49 4e | 47 20 54 48 45 20 45 4e | ASSUMIN|G THE EN|
|00000c00| 54 49 52 45 20 52 49 53 | 4b 20 41 53 20 54 4f 20 |TIRE RIS|K AS TO |
|00000c10| 49 54 53 20 51 55 41 4c | 49 54 59 20 41 4e 44 20 |ITS QUAL|ITY AND |
|00000c20| 41 43 43 55 52 41 43 59 | 2e 0d 49 4e 20 4e 4f 20 |ACCURACY|..IN NO |
|00000c30| 45 56 45 4e 54 20 57 49 | 4c 4c 20 41 50 50 4c 45 |EVENT WI|LL APPLE|
|00000c40| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 44 | BE LIAB|LE FOR D|
|00000c50| 49 52 45 43 54 2c 20 49 | 4e 44 49 52 45 43 54 2c |IRECT, I|NDIRECT,|
|00000c60| 20 53 50 45 43 49 41 4c | 2c 20 49 4e 43 49 44 45 | SPECIAL|, INCIDE|
|00000c70| 4e 54 41 4c 2c 20 4f 52 | 20 43 4f 4e 53 45 51 55 |NTAL, OR| CONSEQU|
|00000c80| 45 4e 54 49 41 4c 20 44 | 41 4d 41 47 45 53 20 52 |ENTIAL D|AMAGES R|
|00000c90| 45 53 55 4c 54 49 4e 47 | 20 46 52 4f 4d 20 41 4e |ESULTING| FROM AN|
|00000ca0| 59 20 44 45 46 45 43 54 | 20 4f 52 20 49 4e 41 43 |Y DEFECT| OR INAC|
|00000cb0| 43 55 52 41 43 59 20 49 | 4e 20 54 48 49 53 20 4d |CURACY I|N THIS M|
|00000cc0| 41 4e 55 41 4c 2c 20 65 | 76 65 6e 20 69 66 20 61 |ANUAL, e|ven if a|
|00000cd0| 64 76 69 73 65 64 20 6f | 66 20 74 68 65 20 70 6f |dvised o|f the po|
|00000ce0| 73 73 69 62 69 6c 69 74 | 79 20 6f 66 20 73 75 63 |ssibilit|y of suc|
|00000cf0| 68 20 64 61 6d 61 67 65 | 73 2e 0d 54 48 45 20 57 |h damage|s..THE W|
|00000d00| 41 52 52 41 4e 54 59 20 | 41 4e 44 20 52 45 4d 45 |ARRANTY |AND REME|
|00000d10| 44 49 45 53 20 53 45 54 | 20 46 4f 52 54 48 20 41 |DIES SET| FORTH A|
|00000d20| 42 4f 56 45 20 41 52 45 | 20 45 58 43 4c 55 53 49 |BOVE ARE| EXCLUSI|
|00000d30| 56 45 20 41 4e 44 20 49 | 4e 20 4c 49 45 55 20 4f |VE AND I|N LIEU O|
|00000d40| 46 20 41 4c 4c 20 4f 54 | 48 45 52 53 2c 20 4f 52 |F ALL OT|HERS, OR|
|00000d50| 41 4c 20 4f 52 20 57 52 | 49 54 54 45 4e 2c 20 45 |AL OR WR|ITTEN, E|
|00000d60| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00000d70| 44 2e 20 4e 6f 20 41 70 | 70 6c 65 20 64 65 61 6c |D. No Ap|ple deal|
|00000d80| 65 72 2c 20 61 67 65 6e | 74 2c 20 6f 72 20 65 6d |er, agen|t, or em|
|00000d90| 70 6c 6f 79 65 65 20 69 | 73 20 61 75 74 68 6f 72 |ployee i|s author|
|00000da0| 69 7a 65 64 20 74 6f 20 | 6d 61 6b 65 20 61 6e 79 |ized to |make any|
|00000db0| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 2c 20 65 | modific|ation, e|
|00000dc0| 78 74 65 6e 73 69 6f 6e | 2c 20 6f 72 20 61 64 64 |xtension|, or add|
|00000dd0| 69 74 69 6f 6e 20 74 6f | 20 74 68 69 73 20 77 61 |ition to| this wa|
|00000de0| 72 72 61 6e 74 79 2e 0d | 53 6f 6d 65 20 73 74 61 |rranty..|Some sta|
|00000df0| 74 65 73 20 64 6f 20 6e | 6f 74 20 61 6c 6c 6f 77 |tes do n|ot allow|
|00000e00| 20 74 68 65 20 65 78 63 | 6c 75 73 69 6f 6e 20 6f | the exc|lusion o|
|00000e10| 72 20 6c 69 6d 69 74 61 | 74 69 6f 6e 20 6f 66 20 |r limita|tion of |
|00000e20| 69 6d 70 6c 69 65 64 20 | 77 61 72 72 61 6e 74 69 |implied |warranti|
|00000e30| 65 73 20 6f 72 20 6c 69 | 61 62 69 6c 69 74 79 20 |es or li|ability |
|00000e40| 66 6f 72 20 69 6e 63 69 | 64 65 6e 74 61 6c 20 6f |for inci|dental o|
|00000e50| 72 20 63 6f 6e 73 65 71 | 75 65 6e 74 69 61 6c 20 |r conseq|uential |
|00000e60| 64 61 6d 61 67 65 73 2c | 20 73 6f 20 74 68 65 20 |damages,| so the |
|00000e70| 61 62 6f 76 65 20 6c 69 | 6d 69 74 61 74 69 6f 6e |above li|mitation|
|00000e80| 20 6f 72 20 65 78 63 6c | 75 73 69 6f 6e 20 6d 61 | or excl|usion ma|
|00000e90| 79 20 6e 6f 74 20 61 70 | 70 6c 79 20 74 6f 20 79 |y not ap|ply to y|
|00000ea0| 6f 75 2e 20 54 68 69 73 | 20 77 61 72 72 61 6e 74 |ou. This| warrant|
|00000eb0| 79 20 67 69 76 65 73 20 | 79 6f 75 20 73 70 65 63 |y gives |you spec|
|00000ec0| 69 66 69 63 20 6c 65 67 | 61 6c 20 72 69 67 68 74 |ific leg|al right|
|00000ed0| 73 2c 20 61 6e 64 20 79 | 6f 75 20 6d 61 79 20 61 |s, and y|ou may a|
|00000ee0| 6c 73 6f 20 68 61 76 65 | 20 6f 74 68 65 72 20 72 |lso have| other r|
|00000ef0| 69 67 68 74 73 20 77 68 | 69 63 68 20 76 61 72 79 |ights wh|ich vary|
|00000f00| 20 66 72 6f 6d 20 73 74 | 61 74 65 20 74 6f 20 73 | from st|ate to s|
|00000f10| 74 61 74 65 2e 0d 54 68 | 69 73 20 63 68 61 70 74 |tate..Th|is chapt|
|00000f20| 65 72 20 61 70 70 65 61 | 72 73 20 69 6e 20 74 68 |er appea|rs in th|
|00000f30| 65 20 62 6f 6f 6b 20 0d | 49 6e 73 69 64 65 20 4d |e book .|Inside M|
|00000f40| 61 63 69 6e 74 6f 73 68 | 3a 20 4d 6f 72 65 20 4d |acintosh|: More M|
|00000f50| 61 63 69 6e 74 6f 73 68 | 20 54 6f 6f 6c 62 6f 78 |acintosh| Toolbox|
|00000f60| 2e 0d 43 6f 6e 74 65 6e | 74 73 0d 46 69 67 75 72 |..Conten|ts.Figur|
|00000f70| 65 73 2c 20 54 61 62 6c | 65 73 2c 20 61 6e 64 20 |es, Tabl|es, and |
|00000f80| 4c 69 73 74 69 6e 67 73 | 14 14 76 0d 43 68 61 70 |Listings|..v.Chap|
|00000f90| 74 65 72 20 31 09 43 6f | 6d 70 6f 6e 65 6e 74 20 |ter 1.Co|mponent |
|00000fa0| 4d 61 6e 61 67 65 72 14 | 14 31 0d 0d 49 6e 74 72 |Manager.|.1..Intr|
|00000fb0| 6f 64 75 63 74 69 6f 6e | 20 74 6f 20 43 6f 6d 70 |oduction| to Comp|
|00000fc0| 6f 6e 65 6e 74 73 14 14 | 32 0d 41 62 6f 75 74 20 |onents..|2.About |
|00000fd0| 74 68 65 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 4d 61 |the Comp|onent Ma|
|00000fe0| 6e 61 67 65 72 14 14 33 | 0d 55 73 69 6e 67 20 74 |nager..3|.Using t|
|00000ff0| 68 65 20 43 6f 6d 70 6f | 6e 65 6e 74 20 4d 61 6e |he Compo|nent Man|
|00001000| 61 67 65 72 14 14 35 0d | 4f 70 65 6e 69 6e 67 20 |ager..5.|Opening |
|00001010| 43 6f 6e 6e 65 63 74 69 | 6f 6e 73 20 74 6f 20 43 |Connecti|ons to C|
|00001020| 6f 6d 70 6f 6e 65 6e 74 | 73 14 14 36 0d 4f 70 65 |omponent|s..6.Ope|
|00001030| 6e 69 6e 67 20 61 20 43 | 6f 6e 6e 65 63 74 69 6f |ning a C|onnectio|
|00001040| 6e 20 74 6f 20 61 20 44 | 65 66 61 75 6c 74 20 43 |n to a D|efault C|
|00001050| 6f 6d 70 6f 6e 65 6e 74 | 14 14 36 0d 46 69 6e 64 |omponent|..6.Find|
|00001060| 69 6e 67 20 61 20 53 70 | 65 63 69 66 69 63 20 43 |ing a Sp|ecific C|
|00001070| 6f 6d 70 6f 6e 65 6e 74 | 14 14 37 0d 4f 70 65 6e |omponent|..7.Open|
|00001080| 69 6e 67 20 61 20 43 6f | 6e 6e 65 63 74 69 6f 6e |ing a Co|nnection|
|00001090| 20 74 6f 20 61 20 53 70 | 65 63 69 66 69 63 20 43 | to a Sp|ecific C|
|000010a0| 6f 6d 70 6f 6e 65 6e 74 | 14 14 38 0d 47 65 74 74 |omponent|..8.Gett|
|000010b0| 69 6e 67 20 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing Info|rmation |
|000010c0| 41 62 6f 75 74 20 61 20 | 43 6f 6d 70 6f 6e 65 6e |About a |Componen|
|000010d0| 74 14 14 39 0d 55 73 69 | 6e 67 20 61 20 43 6f 6d |t..9.Usi|ng a Com|
|000010e0| 70 6f 6e 65 6e 74 14 14 | 31 30 0d 43 6c 6f 73 69 |ponent..|10.Closi|
|000010f0| 6e 67 20 61 20 43 6f 6e | 6e 65 63 74 69 6f 6e 20 |ng a Con|nection |
|00001100| 74 6f 20 61 20 43 6f 6d | 70 6f 6e 65 6e 74 14 14 |to a Com|ponent..|
|00001110| 31 31 0d 43 72 65 61 74 | 69 6e 67 20 43 6f 6d 70 |11.Creat|ing Comp|
|00001120| 6f 6e 65 6e 74 73 14 14 | 31 32 0d 54 68 65 20 53 |onents..|12.The S|
|00001130| 74 72 75 63 74 75 72 65 | 20 6f 66 20 61 20 43 6f |tructure| of a Co|
|00001140| 6d 70 6f 6e 65 6e 74 14 | 14 31 32 0d 48 61 6e 64 |mponent.|.12.Hand|
|00001150| 6c 69 6e 67 20 52 65 71 | 75 65 73 74 73 20 66 6f |ling Req|uests fo|
|00001160| 72 20 53 65 72 76 69 63 | 65 14 14 31 37 0d 52 65 |r Servic|e..17.Re|
|00001170| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |sponding| to the |
|00001180| 4f 70 65 6e 20 52 65 71 | 75 65 73 74 14 14 31 38 |Open Req|uest..18|
|00001190| 0d 52 65 73 70 6f 6e 64 | 69 6e 67 20 74 6f 20 74 |.Respond|ing to t|
|000011a0| 68 65 20 43 6c 6f 73 65 | 20 52 65 71 75 65 73 74 |he Close| Request|
|000011b0| 14 14 32 30 0d 52 65 73 | 70 6f 6e 64 69 6e 67 20 |..20.Res|ponding |
|000011c0| 74 6f 20 74 68 65 20 43 | 61 6e 20 44 6f 20 52 65 |to the C|an Do Re|
|000011d0| 71 75 65 73 74 14 14 32 | 31 0d 52 65 73 70 6f 6e |quest..2|1.Respon|
|000011e0| 64 69 6e 67 20 74 6f 20 | 74 68 65 20 56 65 72 73 |ding to |the Vers|
|000011f0| 69 6f 6e 20 52 65 71 75 | 65 73 74 14 14 32 31 0d |ion Requ|est..21.|
|00001200| 52 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |Respondi|ng to th|
|00001210| 65 20 52 65 67 69 73 74 | 65 72 20 52 65 71 75 65 |e Regist|er Reque|
|00001220| 73 74 14 14 32 32 0d 52 | 65 73 70 6f 6e 64 69 6e |st..22.R|espondin|
|00001230| 67 20 74 6f 20 74 68 65 | 20 55 6e 72 65 67 69 73 |g to the| Unregis|
|00001240| 74 65 72 20 52 65 71 75 | 65 73 74 14 14 32 33 0d |ter Requ|est..23.|
|00001250| 52 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |Respondi|ng to th|
|00001260| 65 20 54 61 72 67 65 74 | 20 52 65 71 75 65 73 74 |e Target| Request|
|00001270| 14 14 32 34 0d 52 65 73 | 70 6f 6e 64 69 6e 67 20 |..24.Res|ponding |
|00001280| 74 6f 20 43 6f 6d 70 6f | 6e 65 6e 74 2d 53 70 65 |to Compo|nent-Spe|
|00001290| 63 69 66 69 63 20 52 65 | 71 75 65 73 74 73 14 14 |cific Re|quests..|
|000012a0| 32 35 0d 52 65 70 6f 72 | 74 69 6e 67 20 61 6e 20 |25.Repor|ting an |
|000012b0| 45 72 72 6f 72 20 43 6f | 64 65 14 14 32 37 0d 44 |Error Co|de..27.D|
|000012c0| 65 66 69 6e 69 6e 67 20 | 61 20 43 6f 6d 70 6f 6e |efining |a Compon|
|000012d0| 65 6e 74 d5 73 20 49 6e | 74 65 72 66 61 63 65 73 |ent.s In|terfaces|
|000012e0| 14 14 32 37 0d 4d 61 6e | 61 67 69 6e 67 20 43 6f |..27.Man|aging Co|
|000012f0| 6d 70 6f 6e 65 6e 74 73 | 14 14 32 39 0d 52 65 67 |mponents|..29.Reg|
|00001300| 69 73 74 65 72 69 6e 67 | 20 61 20 43 6f 6d 70 6f |istering| a Compo|
|00001310| 6e 65 6e 74 14 14 32 39 | 0d 43 72 65 61 74 69 6e |nent..29|.Creatin|
|00001320| 67 20 61 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 52 65 |g a Comp|onent Re|
|00001330| 73 6f 75 72 63 65 14 14 | 33 31 0d 45 73 74 61 62 |source..|31.Estab|
|00001340| 6c 69 73 68 69 6e 67 20 | 61 6e 64 20 4d 61 6e 61 |lishing |and Mana|
|00001350| 67 69 6e 67 20 43 6f 6e | 6e 65 63 74 69 6f 6e 73 |ging Con|nections|
|00001360| 14 14 33 33 0d 43 6f 6d | 70 6f 6e 65 6e 74 20 4d |..33.Com|ponent M|
|00001370| 61 6e 61 67 65 72 20 52 | 65 66 65 72 65 6e 63 65 |anager R|eference|
|00001380| 14 14 33 36 0d 44 61 74 | 61 20 53 74 72 75 63 74 |..36.Dat|a Struct|
|00001390| 75 72 65 73 20 66 6f 72 | 20 41 70 70 6c 69 63 61 |ures for| Applica|
|000013a0| 74 69 6f 6e 73 14 14 33 | 36 0d 54 68 65 20 43 6f |tions..3|6.The Co|
|000013b0| 6d 70 6f 6e 65 6e 74 20 | 44 65 73 63 72 69 70 74 |mponent |Descript|
|000013c0| 69 6f 6e 20 52 65 63 6f | 72 64 14 14 33 36 0d 43 |ion Reco|rd..36.C|
|000013d0| 6f 6d 70 6f 6e 65 6e 74 | 20 49 64 65 6e 74 69 66 |omponent| Identif|
|000013e0| 69 65 72 73 20 61 6e 64 | 20 43 6f 6d 70 6f 6e 65 |iers and| Compone|
|000013f0| 6e 74 20 49 6e 73 74 61 | 6e 63 65 73 14 14 33 39 |nt Insta|nces..39|
|00001400| 0d 52 6f 75 74 69 6e 65 | 73 20 66 6f 72 20 41 70 |.Routine|s for Ap|
|00001410| 70 6c 69 63 61 74 69 6f | 6e 73 14 14 34 30 0d 46 |plicatio|ns..40.F|
|00001420| 69 6e 64 69 6e 67 20 43 | 6f 6d 70 6f 6e 65 6e 74 |inding C|omponent|
|00001430| 73 14 14 34 31 0d 4f 70 | 65 6e 69 6e 67 20 61 6e |s..41.Op|ening an|
|00001440| 64 20 43 6c 6f 73 69 6e | 67 20 43 6f 6d 70 6f 6e |d Closin|g Compon|
|00001450| 65 6e 74 73 14 14 34 33 | 0d 47 65 74 74 69 6e 67 |ents..43|.Getting|
|00001460| 20 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 41 62 6f | Informa|tion Abo|
|00001470| 75 74 20 43 6f 6d 70 6f | 6e 65 6e 74 73 14 14 34 |ut Compo|nents..4|
|00001480| 36 0d 52 65 74 72 69 65 | 76 69 6e 67 20 43 6f 6d |6.Retrie|ving Com|
|00001490| 70 6f 6e 65 6e 74 20 45 | 72 72 6f 72 73 14 14 35 |ponent E|rrors..5|
|000014a0| 30 0d 44 61 74 61 20 53 | 74 72 75 63 74 75 72 65 |0.Data S|tructure|
|000014b0| 73 20 66 6f 72 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |s for Co|mponents|
|000014c0| 14 14 35 31 0d 54 68 65 | 20 43 6f 6d 70 6f 6e 65 |..51.The| Compone|
|000014d0| 6e 74 20 44 65 73 63 72 | 69 70 74 69 6f 6e 20 52 |nt Descr|iption R|
|000014e0| 65 63 6f 72 64 14 14 35 | 31 0d 54 68 65 20 43 6f |ecord..5|1.The Co|
|000014f0| 6d 70 6f 6e 65 6e 74 20 | 50 61 72 61 6d 65 74 65 |mponent |Paramete|
|00001500| 72 73 20 52 65 63 6f 72 | 64 14 14 35 33 0d 52 6f |rs Recor|d..53.Ro|
|00001510| 75 74 69 6e 65 73 20 66 | 6f 72 20 43 6f 6d 70 6f |utines f|or Compo|
|00001520| 6e 65 6e 74 73 14 14 35 | 35 0d 52 65 67 69 73 74 |nents..5|5.Regist|
|00001530| 65 72 69 6e 67 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |ering Co|mponents|
|00001540| 14 14 35 36 0d 44 69 73 | 70 61 74 63 68 69 6e 67 |..56.Dis|patching|
|00001550| 20 74 6f 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 52 6f | to Comp|onent Ro|
|00001560| 75 74 69 6e 65 73 14 14 | 36 32 0d 4d 61 6e 61 67 |utines..|62.Manag|
|00001570| 69 6e 67 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 43 6f |ing Comp|onent Co|
|00001580| 6e 6e 65 63 74 69 6f 6e | 73 14 14 36 34 0d 53 65 |nnection|s..64.Se|
|00001590| 74 74 69 6e 67 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |tting Co|mponent |
|000015a0| 45 72 72 6f 72 73 14 14 | 36 38 0d 57 6f 72 6b 69 |Errors..|68.Worki|
|000015b0| 6e 67 20 57 69 74 68 20 | 43 6f 6d 70 6f 6e 65 6e |ng With |Componen|
|000015c0| 74 20 52 65 66 65 72 65 | 6e 63 65 20 43 6f 6e 73 |t Refere|nce Cons|
|000015d0| 74 61 6e 74 73 14 14 36 | 39 0d 41 63 63 65 73 73 |tants..6|9.Access|
|000015e0| 69 6e 67 20 61 20 43 6f | 6d 70 6f 6e 65 6e 74 d5 |ing a Co|mponent.|
|000015f0| 73 20 52 65 73 6f 75 72 | 63 65 20 46 69 6c 65 14 |s Resour|ce File.|
|00001600| 14 37 30 0d 43 61 6c 6c | 69 6e 67 20 4f 74 68 65 |.70.Call|ing Othe|
|00001610| 72 20 43 6f 6d 70 6f 6e | 65 6e 74 73 14 14 37 32 |r Compon|ents..72|
|00001620| 0d 43 61 70 74 75 72 69 | 6e 67 20 43 6f 6d 70 6f |.Capturi|ng Compo|
|00001630| 6e 65 6e 74 73 14 14 37 | 34 0d 54 61 72 67 65 74 |nents..7|4.Target|
|00001640| 69 6e 67 20 61 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |ing a Co|mponent |
|00001650| 49 6e 73 74 61 6e 63 65 | 14 14 37 36 0d 43 68 61 |Instance|..76.Cha|
|00001660| 6e 67 69 6e 67 20 74 68 | 65 20 44 65 66 61 75 6c |nging th|e Defaul|
|00001670| 74 20 53 65 61 72 63 68 | 20 4f 72 64 65 72 14 14 |t Search| Order..|
|00001680| 37 37 0d 41 70 70 6c 69 | 63 61 74 69 6f 6e 2d 44 |77.Appli|cation-D|
|00001690| 65 66 69 6e 65 64 20 52 | 6f 75 74 69 6e 65 14 14 |efined R|outine..|
|000016a0| 37 38 0d 52 65 73 6f 75 | 72 63 65 73 14 14 37 39 |78.Resou|rces..79|
|000016b0| 0d 54 68 65 20 43 6f 6d | 70 6f 6e 65 6e 74 20 52 |.The Com|ponent R|
|000016c0| 65 73 6f 75 72 63 65 14 | 14 37 39 0d 53 75 6d 6d |esource.|.79.Summ|
|000016d0| 61 72 79 20 6f 66 20 74 | 68 65 20 43 6f 6d 70 6f |ary of t|he Compo|
|000016e0| 6e 65 6e 74 20 4d 61 6e | 61 67 65 72 14 14 38 35 |nent Man|ager..85|
|000016f0| 0d 50 61 73 63 61 6c 20 | 53 75 6d 6d 61 72 79 14 |.Pascal |Summary.|
|00001700| 14 38 35 0d 43 6f 6e 73 | 74 61 6e 74 73 14 14 38 |.85.Cons|tants..8|
|00001710| 35 0d 44 61 74 61 20 54 | 79 70 65 73 14 14 38 36 |5.Data T|ypes..86|
|00001720| 0d 52 6f 75 74 69 6e 65 | 73 20 66 6f 72 20 41 70 |.Routine|s for Ap|
|00001730| 70 6c 69 63 61 74 69 6f | 6e 73 14 14 38 38 0d 52 |plicatio|ns..88.R|
|00001740| 6f 75 74 69 6e 65 73 20 | 66 6f 72 20 43 6f 6d 70 |outines |for Comp|
|00001750| 6f 6e 65 6e 74 73 14 14 | 38 39 0d 41 70 70 6c 69 |onents..|89.Appli|
|00001760| 63 61 74 69 6f 6e 2d 44 | 65 66 69 6e 65 64 20 52 |cation-D|efined R|
|00001770| 6f 75 74 69 6e 65 14 14 | 39 31 0d 43 20 53 75 6d |outine..|91.C Sum|
|00001780| 6d 61 72 79 14 14 39 31 | 0d 43 6f 6e 73 74 61 6e |mary..91|.Constan|
|00001790| 74 73 14 14 39 31 0d 44 | 61 74 61 20 53 74 72 75 |ts..91.D|ata Stru|
|000017a0| 63 74 75 72 65 73 14 14 | 39 32 0d 52 6f 75 74 69 |ctures..|92.Routi|
|000017b0| 6e 65 73 20 66 6f 72 20 | 41 70 70 6c 69 63 61 74 |nes for |Applicat|
|000017c0| 69 6f 6e 73 14 14 39 34 | 0d 52 6f 75 74 69 6e 65 |ions..94|.Routine|
|000017d0| 73 20 66 6f 72 20 43 6f | 6d 70 6f 6e 65 6e 74 73 |s for Co|mponents|
|000017e0| 14 14 39 35 0d 41 70 70 | 6c 69 63 61 74 69 6f 6e |..95.App|lication|
|000017f0| 2d 44 65 66 69 6e 65 64 | 20 52 6f 75 74 69 6e 65 |-Defined| Routine|
|00001800| 14 14 39 36 0d 41 73 73 | 65 6d 62 6c 79 2d 4c 61 |..96.Ass|embly-La|
|00001810| 6e 67 75 61 67 65 20 53 | 75 6d 6d 61 72 79 14 14 |nguage S|ummary..|
|00001820| 39 37 0d 54 72 61 70 20 | 4d 61 63 72 6f 73 14 14 |97.Trap |Macros..|
|00001830| 39 37 0d 52 65 73 75 6c | 74 20 43 6f 64 65 73 14 |97.Resul|t Codes.|
|00001840| 14 39 38 0d 49 6e 64 65 | 78 14 14 39 39 0d 46 69 |.98.Inde|x..99.Fi|
|00001850| 67 75 72 65 73 2c 20 54 | 61 62 6c 65 73 2c 20 61 |gures, T|ables, a|
|00001860| 6e 64 20 4c 69 73 74 69 | 6e 67 73 0d 43 68 61 70 |nd Listi|ngs.Chap|
|00001870| 74 65 72 20 31 09 43 6f | 6d 70 6f 6e 65 6e 74 20 |ter 1.Co|mponent |
|00001880| 4d 61 6e 61 67 65 72 14 | 14 31 0d 0d 46 69 67 75 |Manager.|.1..Figu|
|00001890| 72 65 20 31 2d 31 09 54 | 68 65 20 72 65 6c 61 74 |re 1-1.T|he relat|
|000018a0| 69 6f 6e 73 68 69 70 20 | 62 65 74 77 65 65 6e 20 |ionship |between |
|000018b0| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2c 20 |an appli|cation, |
|000018c0| 74 68 65 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 4d 61 |the Comp|onent Ma|
|000018d0| 6e 61 67 65 72 2c 20 61 | 6e 64 20 63 6f 6d 70 6f |nager, a|nd compo|
|000018e0| 6e 65 6e 74 73 14 14 34 | 0d 46 69 67 75 72 65 20 |nents..4|.Figure |
|000018f0| 31 2d 32 09 53 75 70 70 | 6f 72 74 69 6e 67 20 6d |1-2.Supp|orting m|
|00001900| 75 6c 74 69 70 6c 65 20 | 63 6f 6d 70 6f 6e 65 6e |ultiple |componen|
|00001910| 74 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 14 14 33 |t connec|tions..3|
|00001920| 33 0d 46 69 67 75 72 65 | 20 31 2d 33 09 49 6e 74 |3.Figure| 1-3.Int|
|00001930| 65 72 61 63 74 69 6f 6e | 20 62 65 74 77 65 65 6e |eraction| between|
|00001940| 20 74 68 65 20 63 6f 6d | 70 6f 6e 65 6e 74 46 6c | the com|ponentFl|
|00001950| 61 67 73 20 61 6e 64 20 | 63 6f 6d 70 6f 6e 65 6e |ags and |componen|
|00001960| 74 46 6c 61 67 73 4d 61 | 73 6b 20 66 69 65 6c 64 |tFlagsMa|sk field|
|00001970| 73 14 14 33 39 0d 46 69 | 67 75 72 65 20 31 2d 34 |s..39.Fi|gure 1-4|
|00001980| 09 46 6f 72 6d 61 74 20 | 6f 66 20 61 20 63 6f 6d |.Format |of a com|
|00001990| 70 6f 6e 65 6e 74 20 66 | 69 6c 65 14 14 38 33 0d |ponent f|ile..83.|
|000019a0| 46 69 67 75 72 65 20 31 | 2d 35 09 53 74 72 75 63 |Figure 1|-5.Struc|
|000019b0| 74 75 72 65 20 6f 66 20 | 61 20 63 6f 6d 70 69 6c |ture of |a compil|
|000019c0| 65 64 20 63 6f 6d 70 6f | 6e 65 6e 74 20 28 27 74 |ed compo|nent ('t|
|000019d0| 68 6e 67 27 29 20 72 65 | 73 6f 75 72 63 65 14 14 |hng') re|source..|
|000019e0| 38 34 0d 54 61 62 6c 65 | 20 31 2d 31 09 52 65 71 |84.Table| 1-1.Req|
|000019f0| 75 65 73 74 20 63 6f 64 | 65 73 14 14 31 33 0d 4c |uest cod|es..13.L|
|00001a00| 69 73 74 69 6e 67 20 31 | 2d 31 09 46 69 6e 64 69 |isting 1|-1.Findi|
|00001a10| 6e 67 20 61 20 63 6f 6d | 70 6f 6e 65 6e 74 14 14 |ng a com|ponent..|
|00001a20| 38 0d 4c 69 73 74 69 6e | 67 20 31 2d 32 09 4f 70 |8.Listin|g 1-2.Op|
|00001a30| 65 6e 69 6e 67 20 61 20 | 73 70 65 63 69 66 69 63 |ening a |specific|
|00001a40| 20 63 6f 6d 70 6f 6e 65 | 6e 74 14 14 39 0d 4c 69 | compone|nt..9.Li|
|00001a50| 73 74 69 6e 67 20 31 2d | 33 09 47 65 74 74 69 6e |sting 1-|3.Gettin|
|00001a60| 67 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |g inform|ation ab|
|00001a70| 6f 75 74 20 61 20 63 6f | 6d 70 6f 6e 65 6e 74 14 |out a co|mponent.|
|00001a80| 14 39 0d 4c 69 73 74 69 | 6e 67 20 31 2d 34 09 55 |.9.Listi|ng 1-4.U|
|00001a90| 73 69 6e 67 20 61 20 64 | 72 61 77 69 6e 67 20 63 |sing a d|rawing c|
|00001aa0| 6f 6d 70 6f 6e 65 6e 74 | 14 14 31 30 0d 4c 69 73 |omponent|..10.Lis|
|00001ab0| 74 69 6e 67 20 31 2d 35 | 09 41 20 64 72 61 77 69 |ting 1-5|.A drawi|
|00001ac0| 6e 67 20 63 6f 6d 70 6f | 6e 65 6e 74 20 66 6f 72 |ng compo|nent for|
|00001ad0| 20 6f 76 61 6c 73 14 14 | 31 35 0d 4c 69 73 74 69 | ovals..|15.Listi|
|00001ae0| 6e 67 20 31 2d 36 09 52 | 65 73 70 6f 6e 64 69 6e |ng 1-6.R|espondin|
|00001af0| 67 20 74 6f 20 61 6e 20 | 6f 70 65 6e 20 72 65 71 |g to an |open req|
|00001b00| 75 65 73 74 14 14 31 39 | 0d 4c 69 73 74 69 6e 67 |uest..19|.Listing|
|00001b10| 20 31 2d 37 09 52 65 73 | 70 6f 6e 64 69 6e 67 20 | 1-7.Res|ponding |
|00001b20| 74 6f 20 61 20 63 6c 6f | 73 65 20 72 65 71 75 65 |to a clo|se reque|
|00001b30| 73 74 14 14 32 30 0d 4c | 69 73 74 69 6e 67 20 31 |st..20.L|isting 1|
|00001b40| 2d 38 09 52 65 73 70 6f | 6e 64 69 6e 67 20 74 6f |-8.Respo|nding to|
|00001b50| 20 74 68 65 20 63 61 6e | 20 64 6f 20 72 65 71 75 | the can| do requ|
|00001b60| 65 73 74 14 14 32 31 0d | 4c 69 73 74 69 6e 67 20 |est..21.|Listing |
|00001b70| 31 2d 39 09 52 65 73 70 | 6f 6e 64 69 6e 67 20 74 |1-9.Resp|onding t|
|00001b80| 6f 20 74 68 65 20 73 65 | 74 75 70 20 72 65 71 75 |o the se|tup requ|
|00001b90| 65 73 74 14 14 32 35 0d | 4c 69 73 74 69 6e 67 20 |est..25.|Listing |
|00001ba0| 31 2d 31 30 09 52 65 73 | 70 6f 6e 64 69 6e 67 20 |1-10.Res|ponding |
|00001bb0| 74 6f 20 74 68 65 20 64 | 72 61 77 20 72 65 71 75 |to the d|raw requ|
|00001bc0| 65 73 74 14 14 32 36 0d | 4c 69 73 74 69 6e 67 20 |est..26.|Listing |
|00001bd0| 31 2d 31 31 09 52 65 73 | 70 6f 6e 64 69 6e 67 20 |1-11.Res|ponding |
|00001be0| 74 6f 20 74 68 65 20 65 | 72 61 73 65 20 72 65 71 |to the e|rase req|
|00001bf0| 75 65 73 74 14 14 32 36 | 0d 4c 69 73 74 69 6e 67 |uest..26|.Listing|
|00001c00| 20 31 2d 31 32 09 52 65 | 73 70 6f 6e 64 69 6e 67 | 1-12.Re|sponding|
|00001c10| 20 74 6f 20 74 68 65 20 | 63 6c 69 63 6b 20 72 65 | to the |click re|
|00001c20| 71 75 65 73 74 14 14 32 | 36 0d 4c 69 73 74 69 6e |quest..2|6.Listin|
|00001c30| 67 20 31 2d 31 33 09 52 | 65 73 70 6f 6e 64 69 6e |g 1-13.R|espondin|
|00001c40| 67 20 74 6f 20 74 68 65 | 20 6d 6f 76 65 20 74 6f |g to the| move to|
|00001c50| 20 72 65 71 75 65 73 74 | 14 14 32 37 0d 4c 69 73 | request|..27.Lis|
|00001c60| 74 69 6e 67 20 31 2d 31 | 34 09 52 65 67 69 73 74 |ting 1-1|4.Regist|
|00001c70| 65 72 69 6e 67 20 61 20 | 63 6f 6d 70 6f 6e 65 6e |ering a |componen|
|00001c80| 74 14 14 33 30 0d 4c 69 | 73 74 69 6e 67 20 31 2d |t..30.Li|sting 1-|
|00001c90| 31 35 09 52 65 7a 20 69 | 6e 70 75 74 20 66 6f 72 |15.Rez i|nput for|
|00001ca0| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 20 72 65 73 | a compo|nent res|
|00001cb0| 6f 75 72 63 65 14 14 33 | 32 0d 4c 69 73 74 69 6e |ource..3|2.Listin|
|00001cc0| 67 20 31 2d 31 36 09 44 | 65 6c 65 67 61 74 69 6e |g 1-16.D|elegatin|
|00001cd0| 67 20 61 20 72 65 71 75 | 65 73 74 20 74 6f 20 61 |g a requ|est to a|
|00001ce0| 6e 6f 74 68 65 72 20 63 | 6f 6d 70 6f 6e 65 6e 74 |nother c|omponent|
|00001cf0| 14 14 33 35 0d 43 6f 6d | 70 6f 6e 65 6e 74 20 4d |..35.Com|ponent M|
|00001d00| 61 6e 61 67 65 72 0d 0d | 0d 54 68 69 73 20 63 68 |anager..|.This ch|
|00001d10| 61 70 74 65 72 20 64 65 | 73 63 72 69 62 65 73 20 |apter de|scribes |
|00001d20| 68 6f 77 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |how you |can use |
|00001d30| 74 68 65 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 4d 61 |the Comp|onent Ma|
|00001d40| 6e 61 67 65 72 20 74 6f | 20 61 6c 6c 6f 77 20 79 |nager to| allow y|
|00001d50| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00001d60| 74 6f 20 66 69 6e 64 20 | 61 6e 64 20 75 74 69 6c |to find |and util|
|00001d70| 69 7a 65 20 76 61 72 69 | 6f 75 73 20 73 6f 66 74 |ize vari|ous soft|
|00001d80| 77 61 72 65 20 6f 62 6a | 65 63 74 73 20 28 63 6f |ware obj|ects (co|
|00001d90| 6d 70 6f 6e 65 6e 74 73 | 29 20 61 74 20 72 75 6e |mponents|) at run|
|00001da0| 20 74 69 6d 65 2e 20 49 | 74 20 61 6c 73 6f 20 64 | time. I|t also d|
|00001db0| 69 73 63 75 73 73 65 73 | 20 68 6f 77 20 79 6f 75 |iscusses| how you|
|00001dc0| 20 63 61 6e 20 63 72 65 | 61 74 65 20 79 6f 75 72 | can cre|ate your|
|00001dd0| 20 6f 77 6e 20 63 6f 6d | 70 6f 6e 65 6e 74 73 20 | own com|ponents |
|00001de0| 61 6e 64 20 68 6f 77 20 | 79 6f 75 20 63 61 6e 20 |and how |you can |
|00001df0| 75 73 65 20 74 68 65 20 | 43 6f 6d 70 6f 6e 65 6e |use the |Componen|
|00001e00| 74 20 4d 61 6e 61 67 65 | 72 20 74 6f 20 68 65 6c |t Manage|r to hel|
|00001e10| 70 20 6d 61 6e 61 67 65 | 20 79 6f 75 72 20 63 6f |p manage| your co|
|00001e20| 6d 70 6f 6e 65 6e 74 73 | 2e 20 59 6f 75 20 73 68 |mponents|. You sh|
|00001e30| 6f 75 6c 64 20 72 65 61 | 64 20 74 68 69 73 20 63 |ould rea|d this c|
|00001e40| 68 61 70 74 65 72 20 69 | 66 20 79 6f 75 20 61 72 |hapter i|f you ar|
|00001e50| 65 20 64 65 76 65 6c 6f | 70 69 6e 67 20 61 6e 20 |e develo|ping an |
|00001e60| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 68 61 74 |applicat|ion that|
|00001e70| 20 75 73 65 73 20 63 6f | 6d 70 6f 6e 65 6e 74 73 | uses co|mponents|
|00001e80| 20 6f 72 20 69 66 20 79 | 6f 75 20 70 6c 61 6e 20 | or if y|ou plan |
|00001e90| 74 6f 20 64 65 76 65 6c | 6f 70 20 79 6f 75 72 20 |to devel|op your |
|00001ea0| 6f 77 6e 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 2e 20 |own comp|onents. |
|00001eb0| 0d 54 68 65 20 72 65 73 | 74 20 6f 66 20 74 68 69 |.The res|t of thi|
|00001ec0| 73 20 63 68 61 70 74 65 | 72 0d 6e 09 63 6f 6e 74 |s chapte|r.n.cont|
|00001ed0| 61 69 6e 73 20 61 20 67 | 65 6e 65 72 61 6c 20 69 |ains a g|eneral i|
|00001ee0| 6e 74 72 6f 64 75 63 74 | 69 6f 6e 20 74 6f 20 63 |ntroduct|ion to c|
|00001ef0| 6f 6d 70 6f 6e 65 6e 74 | 73 20 61 6e 64 20 74 68 |omponent|s and th|
|00001f00| 65 20 66 65 61 74 75 72 | 65 73 20 70 72 6f 76 69 |e featur|es provi|
|00001f10| 64 65 64 20 62 79 20 74 | 68 65 20 43 6f 6d 70 6f |ded by t|he Compo|
|00001f20| 6e 65 6e 74 20 4d 61 6e | 61 67 65 72 0d 6e 09 64 |nent Man|ager.n.d|
|00001f30| 69 73 63 75 73 73 65 73 | 20 68 6f 77 20 74 6f 20 |iscusses| how to |
|00001f40| 75 73 65 20 74 68 65 20 | 66 61 63 69 6c 69 74 69 |use the |faciliti|
|00001f50| 65 73 20 6f 66 20 74 68 | 65 20 43 6f 6d 70 6f 6e |es of th|e Compon|
|00001f60| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 74 6f 20 63 |ent Mana|ger to c|
|00001f70| 61 6c 6c 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 0d |all comp|onents .|
|00001f80| 6e 09 64 65 73 63 72 69 | 62 65 73 20 68 6f 77 20 |n.descri|bes how |
|00001f90| 74 6f 20 63 72 65 61 74 | 65 20 61 20 63 6f 6d 70 |to creat|e a comp|
|00001fa0| 6f 6e 65 6e 74 20 0d 53 | 65 76 65 72 61 6c 20 6f |onent .S|everal o|
|00001fb0| 66 20 74 68 65 20 73 65 | 63 74 69 6f 6e 73 20 69 |f the se|ctions i|
|00001fc0| 6e 20 74 68 69 73 20 63 | 68 61 70 74 65 72 20 61 |n this c|hapter a|
|00001fd0| 72 65 20 64 69 76 69 64 | 65 64 20 69 6e 74 6f 20 |re divid|ed into |
|00001fe0| 74 77 6f 20 6d 61 69 6e | 20 74 6f 70 69 63 73 3a |two main| topics:|
|00001ff0| 20 6f 6e 65 20 64 65 73 | 63 72 69 62 65 73 20 68 | one des|cribes h|
|00002000| 6f 77 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |ow appli|cations |
|00002010| 63 61 6e 20 75 73 65 20 | 63 6f 6d 70 6f 6e 65 6e |can use |componen|
|00002020| 74 73 2c 20 61 6e 64 20 | 6f 6e 65 20 64 65 73 63 |ts, and |one desc|
|00002030| 72 69 62 65 73 20 68 6f | 77 20 74 6f 20 63 72 65 |ribes ho|w to cre|
|00002040| 61 74 65 20 79 6f 75 72 | 20 6f 77 6e 20 63 6f 6d |ate your| own com|
|00002050| 70 6f 6e 65 6e 74 73 2e | 20 49 66 20 79 6f 75 20 |ponents.| If you |
|00002060| 61 72 65 20 64 65 76 65 | 6c 6f 70 69 6e 67 20 61 |are deve|loping a|
|00002070| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 74 68 |n applic|ation th|
|00002080| 61 74 20 75 73 65 73 20 | 63 6f 6d 70 6f 6e 65 6e |at uses |componen|
|00002090| 74 73 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 66 |ts, you |should f|
|000020a0| 6f 63 75 73 20 6f 6e 20 | 74 68 65 20 6d 61 74 65 |ocus on |the mate|
|000020b0| 72 69 61 6c 20 74 68 61 | 74 20 64 65 73 63 72 69 |rial tha|t descri|
|000020c0| 62 65 73 20 68 6f 77 20 | 74 6f 20 75 73 65 20 65 |bes how |to use e|
|000020d0| 78 69 73 74 69 6e 67 20 | 63 6f 6d 70 6f 6e 65 6e |xisting |componen|
|000020e0| 74 73 d1 79 6f 75 20 64 | 6f 20 6e 6f 74 20 6e 65 |ts.you d|o not ne|
|000020f0| 65 64 20 74 6f 20 72 65 | 61 64 20 74 68 65 20 6d |ed to re|ad the m|
|00002100| 61 74 65 72 69 61 6c 20 | 74 68 61 74 20 64 65 73 |aterial |that des|
|00002110| 63 72 69 62 65 73 20 68 | 6f 77 20 74 6f 20 63 72 |cribes h|ow to cr|
|00002120| 65 61 74 65 20 61 20 63 | 6f 6d 70 6f 6e 65 6e 74 |eate a c|omponent|
|00002130| 2e 20 49 66 20 79 6f 75 | 20 61 72 65 20 64 65 76 |. If you| are dev|
|00002140| 65 6c 6f 70 69 6e 67 20 | 61 20 63 6f 6d 70 6f 6e |eloping |a compon|
|00002150| 65 6e 74 2c 20 68 6f 77 | 65 76 65 72 2c 20 79 6f |ent, how|ever, yo|
|00002160| 75 20 73 68 6f 75 6c 64 | 20 62 65 20 66 61 6d 69 |u should| be fami|
|00002170| 6c 69 61 72 20 77 69 74 | 68 20 61 6c 6c 20 74 68 |liar wit|h all th|
|00002180| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 6e |e inform|ation in|
|00002190| 20 74 68 69 73 20 63 68 | 61 70 74 65 72 2e 20 0d | this ch|apter. .|
|000021a0| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |For info|rmation |
|000021b0| 6f 6e 20 61 20 73 70 65 | 63 69 66 69 63 20 63 6f |on a spe|cific co|
|000021c0| 6d 70 6f 6e 65 6e 74 2c | 20 73 65 65 20 74 68 65 |mponent,| see the|
|000021d0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 73 | documen|tation s|
|000021e0| 75 70 70 6c 69 65 64 20 | 77 69 74 68 20 74 68 61 |upplied |with tha|
|000021f0| 74 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 20 46 6f 72 |t compon|ent. For|
|00002200| 20 65 78 61 6d 70 6c 65 | 2c 20 66 6f 72 20 69 6e | example|, for in|
|00002210| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 74 68 65 |formatio|n on the|
|00002220| 20 63 6f 6d 70 6f 6e 65 | 6e 74 73 20 74 68 61 74 | compone|nts that|
|00002230| 20 41 70 70 6c 65 20 73 | 75 70 70 6c 69 65 73 20 | Apple s|upplies |
|00002240| 77 69 74 68 20 51 75 69 | 63 6b 54 69 6d 65 2c 20 |with Qui|ckTime, |
|00002250| 73 65 65 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |see Insi|de Macin|
|00002260| 74 6f 73 68 3a 20 51 75 | 69 63 6b 54 69 6d 65 20 |tosh: Qu|ickTime |
|00002270| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 0d 0d 49 6e 74 |Componen|ts...Int|
|00002280| 72 6f 64 75 63 74 69 6f | 6e 20 74 6f 20 43 6f 6d |roductio|n to Com|
|00002290| 70 6f 6e 65 6e 74 73 0d | 0d 41 20 63 6f 6d 70 6f |ponents.|.A compo|
|000022a0| 6e 65 6e 74 20 69 73 20 | 61 20 70 69 65 63 65 20 |nent is |a piece |
|000022b0| 6f 66 20 63 6f 64 65 20 | 74 68 61 74 20 70 72 6f |of code |that pro|
|000022c0| 76 69 64 65 73 20 61 20 | 64 65 66 69 6e 65 64 20 |vides a |defined |
|000022d0| 73 65 74 20 6f 66 20 73 | 65 72 76 69 63 65 73 20 |set of s|ervices |
|000022e0| 74 6f 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 63 |to one o|r more c|
|000022f0| 6c 69 65 6e 74 73 2e 20 | 41 70 70 6c 69 63 61 74 |lients. |Applicat|
|00002300| 69 6f 6e 73 2c 20 73 79 | 73 74 65 6d 20 65 78 74 |ions, sy|stem ext|
|00002310| 65 6e 73 69 6f 6e 73 2c | 20 61 73 20 77 65 6c 6c |ensions,| as well|
|00002320| 20 61 73 20 6f 74 68 65 | 72 20 63 6f 6d 70 6f 6e | as othe|r compon|
|00002330| 65 6e 74 73 20 63 61 6e | 20 75 73 65 20 74 68 65 |ents can| use the|
|00002340| 20 73 65 72 76 69 63 65 | 73 20 6f 66 20 61 20 63 | service|s of a c|
|00002350| 6f 6d 70 6f 6e 65 6e 74 | 2e 20 41 20 63 6f 6d 70 |omponent|. A comp|
|00002360| 6f 6e 65 6e 74 20 74 79 | 70 69 63 61 6c 6c 79 20 |onent ty|pically |
|00002370| 70 72 6f 76 69 64 65 73 | 20 61 20 73 70 65 63 69 |provides| a speci|
|00002380| 66 69 63 20 74 79 70 65 | 20 6f 66 20 73 65 72 76 |fic type| of serv|
|00002390| 69 63 65 20 74 6f 20 69 | 74 73 20 63 6c 69 65 6e |ice to i|ts clien|
|000023a0| 74 73 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |ts. For |example,|
|000023b0| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 20 6d 69 67 | a compo|nent mig|
|000023c0| 68 74 20 70 72 6f 76 69 | 64 65 20 69 6d 61 67 65 |ht provi|de image|
|000023d0| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 20 6f 72 20 | compres|sion or |
|000023e0| 69 6d 61 67 65 20 64 65 | 63 6f 6d 70 72 65 73 73 |image de|compress|
|000023f0| 69 6f 6e 20 63 61 70 61 | 62 69 6c 69 74 69 65 73 |ion capa|bilities|
|00002400| 3b 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |; an app|lication|
|00002410| 20 63 6f 75 6c 64 20 63 | 61 6c 6c 20 73 75 63 68 | could c|all such|
|00002420| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 2c 20 70 72 | a compo|nent, pr|
|00002430| 6f 76 69 64 69 6e 67 20 | 74 68 65 20 69 6d 61 67 |oviding |the imag|
|00002440| 65 20 74 6f 20 63 6f 6d | 70 72 65 73 73 2c 20 61 |e to com|press, a|
|00002450| 6e 64 20 74 68 65 20 63 | 6f 6d 70 6f 6e 65 6e 74 |nd the c|omponent|
|00002460| 20 63 6f 75 6c 64 20 70 | 65 72 66 6f 72 6d 20 74 | could p|erform t|
|00002470| 68 65 20 64 65 73 69 72 | 65 64 20 6f 70 65 72 61 |he desir|ed opera|
|00002480| 74 69 6f 6e 20 61 6e 64 | 20 72 65 74 75 72 6e 20 |tion and| return |
|00002490| 74 68 65 20 63 6f 6d 70 | 72 65 73 73 65 64 20 69 |the comp|ressed i|
|000024a0| 6d 61 67 65 20 74 6f 20 | 74 68 65 20 61 70 70 6c |mage to |the appl|
|000024b0| 69 63 61 74 69 6f 6e 2e | 0d 4d 75 6c 74 69 70 6c |ication.|.Multipl|
|000024c0| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 73 20 63 61 6e |e compon|ents can|
|000024d0| 20 70 72 6f 76 69 64 65 | 20 74 68 65 20 73 61 6d | provide| the sam|
|000024e0| 65 20 74 79 70 65 20 6f | 66 20 73 65 72 76 69 63 |e type o|f servic|
|000024f0| 65 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |e. For e|xample, |
|00002500| 73 65 70 61 72 61 74 65 | 20 63 6f 6d 70 6f 6e 65 |separate| compone|
|00002510| 6e 74 73 20 6d 69 67 68 | 74 20 65 78 69 73 74 20 |nts migh|t exist |
|00002520| 74 68 61 74 20 63 61 6e | 20 63 6f 6d 70 72 65 73 |that can| compres|
|00002530| 73 20 61 6e 20 69 6d 61 | 67 65 20 62 79 20 32 30 |s an ima|ge by 20|
|00002540| 20 70 65 72 63 65 6e 74 | 2c 20 34 30 20 70 65 72 | percent|, 40 per|
|00002550| 63 65 6e 74 2c 20 6f 72 | 20 35 30 20 70 65 72 63 |cent, or| 50 perc|
|00002560| 65 6e 74 2c 20 77 69 74 | 68 20 76 61 72 79 69 6e |ent, wit|h varyin|
|00002570| 67 20 64 65 67 72 65 65 | 73 20 6f 66 20 66 69 64 |g degree|s of fid|
|00002580| 65 6c 69 74 79 2e 20 41 | 6c 6c 20 63 6f 6d 70 6f |elity. A|ll compo|
|00002590| 6e 65 6e 74 73 20 6f 66 | 20 74 68 65 20 73 61 6d |nents of| the sam|
|000025a0| 65 20 74 79 70 65 20 6d | 75 73 74 20 73 75 70 70 |e type m|ust supp|
|000025b0| 6f 72 74 20 74 68 65 20 | 73 61 6d 65 20 62 61 73 |ort the |same bas|
|000025c0| 69 63 20 69 6e 74 65 72 | 66 61 63 65 2e 20 54 68 |ic inter|face. Th|
|000025d0| 69 73 20 61 6c 6c 6f 77 | 73 20 79 6f 75 72 20 61 |is allow|s your a|
|000025e0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 6f 20 75 73 |pplicati|on to us|
|000025f0| 65 20 74 68 65 20 73 61 | 6d 65 20 69 6e 74 65 72 |e the sa|me inter|
|00002600| 66 61 63 65 20 66 6f 72 | 20 61 6e 79 20 67 69 76 |face for| any giv|
|00002610| 65 6e 20 74 79 70 65 20 | 6f 66 20 63 6f 6d 70 6f |en type |of compo|
|00002620| 6e 65 6e 74 20 61 6e 64 | 20 67 65 74 20 74 68 65 |nent and| get the|
|00002630| 20 73 61 6d 65 20 74 79 | 70 65 20 6f 66 20 73 65 | same ty|pe of se|
|00002640| 72 76 69 63 65 2c 20 79 | 65 74 20 61 6c 6c 6f 77 |rvice, y|et allow|
|00002650| 73 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |s your a|pplicati|
|00002660| 6f 6e 20 74 6f 20 6f 62 | 74 61 69 6e 20 64 69 66 |on to ob|tain dif|
|00002670| 66 65 72 65 6e 74 20 6c | 65 76 65 6c 73 20 6f 66 |ferent l|evels of|
|00002680| 20 73 65 72 76 69 63 65 | 2e 20 0d 54 68 65 20 43 | service|. .The C|
|00002690| 6f 6d 70 6f 6e 65 6e 74 | 20 4d 61 6e 61 67 65 72 |omponent| Manager|
|000026a0| 20 70 72 6f 76 69 64 65 | 73 20 61 63 63 65 73 73 | provide|s access|
|000026b0| 20 74 6f 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 61 | to comp|onents a|
|000026c0| 6e 64 20 6d 61 6e 61 67 | 65 73 20 74 68 65 6d 20 |nd manag|es them |
|000026d0| 62 79 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |by, for |example,|
|000026e0| 20 6b 65 65 70 69 6e 67 | 20 74 72 61 63 6b 20 6f | keeping| track o|
|000026f0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |f the cu|rrently |
|00002700| 61 76 61 69 6c 61 62 6c | 65 20 63 6f 6d 70 6f 6e |availabl|e compon|
|00002710| 65 6e 74 73 20 61 6e 64 | 20 72 6f 75 74 69 6e 67 |ents and| routing|
|00002720| 20 72 65 71 75 65 73 74 | 73 20 74 6f 20 74 68 65 | request|s to the|
|00002730| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 63 6f 6d | appropr|iate com|
|00002740| 70 6f 6e 65 6e 74 2e 0d | 54 68 65 20 43 6f 6d 70 |ponent..|The Comp|
|00002750| 6f 6e 65 6e 74 20 4d 61 | 6e 61 67 65 72 20 63 6c |onent Ma|nager cl|
|00002760| 61 73 73 69 66 69 65 73 | 20 63 6f 6d 70 6f 6e 65 |assifies| compone|
|00002770| 6e 74 73 20 62 79 20 74 | 68 72 65 65 20 6d 61 69 |nts by t|hree mai|
|00002780| 6e 20 63 72 69 74 65 72 | 69 61 3a 20 74 68 65 20 |n criter|ia: the |
|00002790| 74 79 70 65 20 6f 66 20 | 73 65 72 76 69 63 65 20 |type of |service |
|000027a0| 70 72 6f 76 69 64 65 64 | 2c 20 74 68 65 20 6c 65 |provided|, the le|
|000027b0| 76 65 6c 20 6f 66 20 73 | 65 72 76 69 63 65 20 70 |vel of s|ervice p|
|000027c0| 72 6f 76 69 64 65 64 2c | 20 61 6e 64 20 74 68 65 |rovided,| and the|
|000027d0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 6d 61 6e 75 66 | compone|nt manuf|
|000027e0| 61 63 74 75 72 65 72 2e | 20 54 68 65 20 43 6f 6d |acturer.| The Com|
|000027f0| 70 6f 6e 65 6e 74 20 4d | 61 6e 61 67 65 72 20 75 |ponent M|anager u|
|00002800| 73 65 73 20 61 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |ses a co|mponent |
|00002810| 74 79 70 65 20 74 6f 20 | 69 64 65 6e 74 69 66 79 |type to |identify|
|00002820| 20 74 68 65 20 74 79 70 | 65 20 6f 66 20 73 65 72 | the typ|e of ser|
|00002830| 76 69 63 65 20 70 72 6f | 76 69 64 65 64 20 62 79 |vice pro|vided by|
|00002840| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 2e 20 4c 69 | a compo|nent. Li|
|00002850| 6b 65 20 72 65 73 6f 75 | 72 63 65 20 74 79 70 65 |ke resou|rce type|
|00002860| 73 2c 20 61 20 63 6f 6d | 70 6f 6e 65 6e 74 20 74 |s, a com|ponent t|
|00002870| 79 70 65 20 69 73 20 61 | 20 73 65 71 75 65 6e 63 |ype is a| sequenc|
|00002880| 65 20 6f 66 20 66 6f 75 | 72 20 63 68 61 72 61 63 |e of fou|r charac|
|00002890| 74 65 72 73 2e 20 41 6c | 6c 20 63 6f 6d 70 6f 6e |ters. Al|l compon|
|000028a0| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 73 61 6d 65 |ents of |the same|
|000028b0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 74 79 70 65 20 | compone|nt type |
|000028c0| 70 72 6f 76 69 64 65 20 | 74 68 65 20 73 61 6d 65 |provide |the same|
|000028d0| 20 74 79 70 65 20 6f 66 | 20 73 65 72 76 69 63 65 | type of| service|
|000028e0| 73 20 61 6e 64 20 73 75 | 70 70 6f 72 74 20 61 20 |s and su|pport a |
|000028f0| 63 6f 6d 6d 6f 6e 20 61 | 70 70 6c 69 63 61 74 69 |common a|pplicati|
|00002900| 6f 6e 20 69 6e 74 65 72 | 66 61 63 65 2e 20 46 6f |on inter|face. Fo|
|00002910| 72 20 65 78 61 6d 70 6c | 65 2c 20 61 6c 6c 20 69 |r exampl|e, all i|
|00002920| 6d 61 67 65 20 63 6f 6d | 70 72 65 73 73 6f 72 20 |mage com|pressor |
|00002930| 63 6f 6d 70 6f 6e 65 6e | 74 73 20 68 61 76 65 20 |componen|ts have |
|00002940| 61 20 63 6f 6d 70 6f 6e | 65 6e 74 20 74 79 70 65 |a compon|ent type|
|00002950| 20 6f 66 20 27 69 6d 63 | 6f 27 2e 20 4f 74 68 65 | of 'imc|o'. Othe|
|00002960| 72 20 74 79 70 65 73 20 | 6f 66 20 63 6f 6d 70 6f |r types |of compo|
|00002970| 6e 65 6e 74 73 20 69 6e | 63 6c 75 64 65 20 76 69 |nents in|clude vi|
|00002980| 64 65 6f 20 64 69 67 69 | 74 69 7a 65 72 73 2c 20 |deo digi|tizers, |
|00002990| 74 69 6d 69 6e 67 20 73 | 6f 75 72 63 65 73 2c 20 |timing s|ources, |
|000029a0| 6d 6f 76 69 65 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |movie co|ntroller|
|000029b0| 73 2c 20 61 6e 64 20 73 | 65 71 75 65 6e 63 65 20 |s, and s|equence |
|000029c0| 63 61 70 74 75 72 65 72 | 73 2e 20 0d 4e 6f 74 65 |capturer|s. .Note|
|000029d0| 0d 43 6f 6d 70 6f 6e 65 | 6e 74 20 74 79 70 65 73 |.Compone|nt types|
|000029e0| 20 63 6f 6e 73 69 73 74 | 69 6e 67 20 6f 66 20 6f | consist|ing of o|
|000029f0| 6e 6c 79 20 6c 6f 77 65 | 72 63 61 73 65 20 63 68 |nly lowe|rcase ch|
|00002a00| 61 72 61 63 74 65 72 73 | 20 61 72 65 20 72 65 73 |aracters| are res|
|00002a10| 65 72 76 65 64 20 66 6f | 72 20 64 65 66 69 6e 69 |erved fo|r defini|
|00002a20| 74 69 6f 6e 20 62 79 20 | 41 70 70 6c 65 2e 20 59 |tion by |Apple. Y|
|00002a30| 6f 75 20 63 61 6e 20 64 | 65 66 69 6e 65 20 63 6f |ou can d|efine co|
|00002a40| 6d 70 6f 6e 65 6e 74 20 | 74 79 70 65 73 20 75 73 |mponent |types us|
|00002a50| 69 6e 67 20 6f 74 68 65 | 72 20 63 6f 6d 62 69 6e |ing othe|r combin|
|00002a60| 61 74 69 6f 6e 73 20 6f | 66 20 63 68 61 72 61 63 |ations o|f charac|
|00002a70| 74 65 72 73 2c 20 62 75 | 74 20 79 6f 75 20 6d 75 |ters, bu|t you mu|
|00002a80| 73 74 20 72 65 67 69 73 | 74 65 72 20 61 6e 79 20 |st regis|ter any |
|00002a90| 6e 65 77 20 63 6f 6d 70 | 6f 6e 65 6e 74 20 74 79 |new comp|onent ty|
|00002aa0| 70 65 73 20 77 69 74 68 | 20 41 70 70 6c 65 d5 73 |pes with| Apple.s|
|00002ab0| 20 43 6f 6d 70 6f 6e 65 | 6e 74 20 52 65 67 69 73 | Compone|nt Regis|
|00002ac0| 74 72 79 20 47 72 6f 75 | 70 20 28 41 70 70 6c 65 |try Grou|p (Apple|
|00002ad0| 4c 69 6e 6b 20 52 45 47 | 49 53 54 52 59 29 2e 13 |Link REG|ISTRY)..|
|00002ae0| 75 0d 54 68 65 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |u.The Co|mponent |
|00002af0| 4d 61 6e 61 67 65 72 20 | 61 6c 6c 6f 77 73 20 63 |Manager |allows c|
|00002b00| 6f 6d 70 6f 6e 65 6e 74 | 73 20 74 6f 20 69 64 65 |omponent|s to ide|
|00002b10| 6e 74 69 66 79 20 76 61 | 72 69 61 74 69 6f 6e 73 |ntify va|riations|
|00002b20| 20 6f 6e 20 74 68 65 20 | 62 61 73 69 63 20 69 6e | on the |basic in|
|00002b30| 74 65 72 66 61 63 65 20 | 74 68 65 79 20 6d 75 73 |terface |they mus|
|00002b40| 74 20 73 75 70 70 6f 72 | 74 20 62 79 20 73 70 65 |t suppor|t by spe|
|00002b50| 63 69 66 79 69 6e 67 20 | 61 20 66 6f 75 72 2d 63 |cifying |a four-c|
|00002b60| 68 61 72 61 63 74 65 72 | 20 63 6f 6d 70 6f 6e 65 |haracter| compone|
|00002b70| 6e 74 20 73 75 62 74 79 | 70 65 2e 20 54 68 65 20 |nt subty|pe. The |
|00002b80| 76 61 6c 75 65 20 6f 66 | 20 74 68 65 20 63 6f 6d |value of| the com|
|00002b90| 70 6f 6e 65 6e 74 20 73 | 75 62 74 79 70 65 20 69 |ponent s|ubtype i|
|00002ba0| 73 20 6d 65 61 6e 69 6e | 67 66 75 6c 20 6f 6e 6c |s meanin|gful onl|
|00002bb0| 79 20 69 6e 20 74 68 65 | 20 63 6f 6e 74 65 78 74 |y in the| context|
|00002bc0| 20 6f 66 20 61 20 67 69 | 76 65 6e 20 63 6f 6d 70 | of a gi|ven comp|
|00002bd0| 6f 6e 65 6e 74 20 74 79 | 70 65 2e 20 46 6f 72 20 |onent ty|pe. For |
|00002be0| 65 78 61 6d 70 6c 65 2c | 20 69 6d 61 67 65 20 63 |example,| image c|
|00002bf0| 6f 6d 70 72 65 73 73 6f | 72 20 63 6f 6d 70 6f 6e |ompresso|r compon|
|00002c00| 65 6e 74 73 20 75 73 65 | 20 74 68 65 20 63 6f 6d |ents use| the com|
|00002c10| 70 6f 6e 65 6e 74 20 73 | 75 62 74 79 70 65 20 74 |ponent s|ubtype t|
|00002c20| 6f 20 73 70 65 63 69 66 | 79 20 74 68 65 20 63 6f |o specif|y the co|
|00002c30| 6d 70 72 65 73 73 69 6f | 6e 20 61 6c 67 6f 72 69 |mpressio|n algori|
|00002c40| 74 68 6d 20 73 75 70 70 | 6f 72 74 65 64 20 62 79 |thm supp|orted by|
|00002c50| 20 74 68 65 20 63 6f 6d | 70 6f 6e 65 6e 74 2e 0d | the com|ponent..|
|00002c60| 41 6c 6c 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 6f |All comp|onents o|
|00002c70| 66 20 61 20 67 69 76 65 | 6e 20 74 79 70 65 2d 73 |f a give|n type-s|
|00002c80| 75 62 74 79 70 65 20 63 | 6f 6d 62 69 6e 61 74 69 |ubtype c|ombinati|
|00002c90| 6f 6e 20 6d 75 73 74 20 | 73 75 70 70 6f 72 74 20 |on must |support |
|00002ca0| 61 20 63 6f 6d 6d 6f 6e | 20 61 70 70 6c 69 63 61 |a common| applica|
|00002cb0| 74 69 6f 6e 20 69 6e 74 | 65 72 66 61 63 65 2e 20 |tion int|erface. |
|00002cc0| 48 6f 77 65 76 65 72 2c | 20 63 6f 6d 70 6f 6e 65 |However,| compone|
|00002cd0| 6e 74 73 20 74 68 61 74 | 20 73 68 61 72 65 20 61 |nts that| share a|
|00002ce0| 20 74 79 70 65 2d 73 75 | 62 74 79 70 65 20 73 70 | type-su|btype sp|
|00002cf0| 65 63 69 66 69 63 61 74 | 69 6f 6e 20 6d 61 79 20 |ecificat|ion may |
|00002d00| 73 75 70 70 6f 72 74 20 | 72 6f 75 74 69 6e 65 73 |support |routines|
|00002d10| 20 74 68 61 74 20 61 72 | 65 20 6e 6f 74 20 70 61 | that ar|e not pa|
|00002d20| 72 74 20 6f 66 20 74 68 | 65 20 62 61 73 69 63 20 |rt of th|e basic |
|00002d30| 69 6e 74 65 72 66 61 63 | 65 20 64 65 66 69 6e 65 |interfac|e define|
|00002d40| 64 20 66 6f 72 20 74 68 | 65 69 72 20 74 79 70 65 |d for th|eir type|
|00002d50| 2e 20 49 6e 20 74 68 69 | 73 20 6d 61 6e 6e 65 72 |. In thi|s manner|
|00002d60| 2c 20 63 6f 6d 70 6f 6e | 65 6e 74 73 20 63 61 6e |, compon|ents can|
|00002d70| 20 70 72 6f 76 69 64 65 | 20 65 6e 68 61 6e 63 65 | provide| enhance|
|00002d80| 64 20 73 65 72 76 69 63 | 65 73 20 74 6f 20 63 6c |d servic|es to cl|
|00002d90| 69 65 6e 74 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ient app|lication|
|00002da0| 73 20 77 68 69 6c 65 20 | 73 74 69 6c 6c 20 73 75 |s while |still su|
|00002db0| 70 70 6f 72 74 69 6e 67 | 20 74 68 65 20 62 61 73 |pporting| the bas|
|00002dc0| 69 63 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |ic appli|cation i|
|00002dd0| 6e 74 65 72 66 61 63 65 | 2e 0d 46 69 6e 61 6c 6c |nterface|..Finall|
|00002de0| 79 2c 20 74 68 65 20 43 | 6f 6d 70 6f 6e 65 6e 74 |y, the C|omponent|
|00002df0| 20 4d 61 6e 61 67 65 72 | 20 61 6c 6c 6f 77 73 20 | Manager| allows |
|00002e00| 63 6f 6d 70 6f 6e 65 6e | 74 73 20 74 6f 20 68 61 |componen|ts to ha|
|00002e10| 76 65 20 61 20 66 6f 75 | 72 2d 63 68 61 72 61 63 |ve a fou|r-charac|
|00002e20| 74 65 72 20 6d 61 6e 75 | 66 61 63 74 75 72 65 72 |ter manu|facturer|
|00002e30| 20 63 6f 64 65 20 74 68 | 61 74 20 69 64 65 6e 74 | code th|at ident|
|00002e40| 69 66 69 65 73 20 74 68 | 65 20 6d 61 6e 75 66 61 |ifies th|e manufa|
|00002e50| 63 74 75 72 65 72 20 6f | 66 20 74 68 65 20 63 6f |cturer o|f the co|
|00002e60| 6d 70 6f 6e 65 6e 74 2e | 20 59 6f 75 20 6d 75 73 |mponent.| You mus|
|00002e70| 74 20 72 65 67 69 73 74 | 65 72 20 79 6f 75 72 20 |t regist|er your |
|00002e80| 63 6f 6d 70 6f 6e 65 6e | 74 20 77 69 74 68 20 41 |componen|t with A|
|00002e90| 70 70 6c 65 d5 73 20 43 | 6f 6d 70 6f 6e 65 6e 74 |pple.s C|omponent|
|00002ea0| 20 52 65 67 69 73 74 72 | 79 20 47 72 6f 75 70 20 | Registr|y Group |
|00002eb0| 74 6f 20 72 65 63 65 69 | 76 65 20 61 20 6d 61 6e |to recei|ve a man|
|00002ec0| 75 66 61 63 74 75 72 65 | 72 20 63 6f 64 65 20 66 |ufacture|r code f|
|00002ed0| 6f 72 20 79 6f 75 72 20 | 63 6f 6d 70 6f 6e 65 6e |or your |componen|
|00002ee0| 74 2e 20 54 68 65 20 6d | 61 6e 75 66 61 63 74 75 |t. The m|anufactu|
|00002ef0| 72 65 72 20 63 6f 64 65 | 20 61 6c 6c 6f 77 73 20 |rer code| allows |
|00002f00| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 74 6f 20 |applicat|ions to |
|00002f10| 66 75 72 74 68 65 72 20 | 64 69 73 74 69 6e 67 75 |further |distingu|
|00002f20| 69 73 68 20 62 65 74 77 | 65 65 6e 20 63 6f 6d 70 |ish betw|een comp|
|00002f30| 6f 6e 65 6e 74 73 20 6f | 66 20 74 68 65 20 73 61 |onents o|f the sa|
|00002f40| 6d 65 20 74 79 70 65 2d | 73 75 62 74 79 70 65 2e |me type-|subtype.|
|00002f50| 0d 0d 41 62 6f 75 74 20 | 74 68 65 20 43 6f 6d 70 |..About |the Comp|
|00002f60| 6f 6e 65 6e 74 20 4d 61 | 6e 61 67 65 72 0d 0d 54 |onent Ma|nager..T|
|00002f70| 68 65 20 43 6f 6d 70 6f | 6e 65 6e 74 20 4d 61 6e |he Compo|nent Man|
|00002f80| 61 67 65 72 20 70 72 6f | 76 69 64 65 73 20 73 65 |ager pro|vides se|
|00002f90| 72 76 69 63 65 73 20 74 | 68 61 74 20 61 6c 6c 6f |rvices t|hat allo|
|00002fa0| 77 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 74 |w applic|ations t|
|00002fb0| 6f 20 6f 62 74 61 69 6e | 20 72 75 6e 2d 74 69 6d |o obtain| run-tim|
|00002fc0| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 61 6e |e locati|on of an|
|00002fd0| 64 20 61 63 63 65 73 73 | 20 74 6f 20 66 75 6e 63 |d access| to func|
|00002fe0| 74 69 6f 6e 61 6c 20 6f | 62 6a 65 63 74 73 20 28 |tional o|bjects (|
|00002ff0| 69 6e 20 6d 75 63 68 20 | 74 68 65 20 73 61 6d 65 |in much |the same|
|00003000| 20 77 61 79 20 74 68 61 | 74 20 74 68 65 20 52 65 | way tha|t the Re|
|00003010| 73 6f 75 72 63 65 20 4d | 61 6e 61 67 65 72 20 61 |source M|anager a|
|00003020| 6c 6c 6f 77 73 20 61 70 | 70 6c 69 63 61 74 69 6f |llows ap|plicatio|
|00003030| 6e 73 20 74 68 61 74 20 | 61 72 65 20 72 75 6e 6e |ns that |are runn|
|00003040| 69 6e 67 20 74 6f 20 61 | 63 63 65 73 73 20 64 61 |ing to a|ccess da|
|00003050| 74 61 20 6f 62 6a 65 63 | 74 73 20 64 79 6e 61 6d |ta objec|ts dynam|
|00003060| 69 63 61 6c 6c 79 29 2e | 20 0d 54 68 65 20 43 6f |ically).| .The Co|
|00003070| 6d 70 6f 6e 65 6e 74 20 | 4d 61 6e 61 67 65 72 20 |mponent |Manager |
|00003080| 63 72 65 61 74 65 73 20 | 61 6e 20 69 6e 74 65 72 |creates |an inter|
|00003090| 66 61 63 65 20 62 65 74 | 77 65 65 6e 20 63 6f 6d |face bet|ween com|
|000030a0| 70 6f 6e 65 6e 74 73 20 | 61 6e 64 20 63 6c 69 65 |ponents |and clie|
|000030b0| 6e 74 73 2c 20 77 68 69 | 63 68 20 63 61 6e 20 62 |nts, whi|ch can b|
|000030c0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2c 20 |e applic|ations, |
|000030d0| 6f 74 68 65 72 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |other co|mponents|
|000030e0| 2c 20 73 79 73 74 65 6d | 20 65 78 74 65 6e 73 69 |, system| extensi|
|000030f0| 6f 6e 73 2c 20 61 6e 64 | 20 73 6f 20 6f 6e 2e 20 |ons, and| so on. |
|00003100| 49 6e 73 74 65 61 64 20 | 6f 66 20 69 6d 70 6c 65 |Instead |of imple|
|00003110| 6d 65 6e 74 69 6e 67 20 | 73 75 70 70 6f 72 74 20 |menting |support |
|00003120| 66 6f 72 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 |for a pa|rticular|
|00003130| 20 64 61 74 61 20 66 6f | 72 6d 61 74 2c 20 70 72 | data fo|rmat, pr|
|00003140| 6f 74 6f 63 6f 6c 2c 20 | 6f 72 20 6d 6f 64 65 6c |otocol, |or model|
|00003150| 20 6f 66 20 61 20 64 65 | 76 69 63 65 2c 20 79 6f | of a de|vice, yo|
|00003160| 75 20 63 61 6e 20 75 73 | 65 20 61 20 73 74 61 6e |u can us|e a stan|
|00003170| 64 61 72 64 20 69 6e 74 | 65 72 66 61 63 65 20 74 |dard int|erface t|
|00003180| 68 72 6f 75 67 68 20 77 | 68 69 63 68 20 79 6f 75 |hrough w|hich you|
|00003190| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 63 6f |r applic|ation co|
|000031a0| 6d 6d 75 6e 69 63 61 74 | 65 73 20 77 69 74 68 20 |mmunicat|es with |
|000031b0| 61 6c 6c 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 6f |all comp|onents o|
|000031c0| 66 20 61 20 67 69 76 65 | 6e 20 74 79 70 65 2e 20 |f a give|n type. |
|000031d0| 59 6f 75 20 63 61 6e 20 | 74 68 65 6e 20 75 73 65 |You can |then use|
|000031e0| 20 74 68 65 20 43 6f 6d | 70 6f 6e 65 6e 74 20 4d | the Com|ponent M|
|000031f0| 61 6e 61 67 65 72 20 74 | 6f 20 6c 6f 63 61 74 65 |anager t|o locate|
|00003200| 20 61 6e 64 20 63 6f 6d | 6d 75 6e 69 63 61 74 65 | and com|municate|
|00003210| 20 77 69 74 68 20 63 6f | 6d 70 6f 6e 65 6e 74 73 | with co|mponents|
|00003220| 20 6f 66 20 74 68 61 74 | 20 74 79 70 65 2e 20 54 | of that| type. T|
|00003230| 68 6f 73 65 20 63 6f 6d | 70 6f 6e 65 6e 74 73 2c |hose com|ponents,|
|00003240| 20 69 6e 20 74 75 72 6e | 2c 20 70 72 6f 76 69 64 | in turn|, provid|
|00003250| 65 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |e the ap|propriat|
|00003260| 65 20 73 65 72 76 69 63 | 65 73 20 74 6f 20 79 6f |e servic|es to yo|
|00003270| 75 72 20 63 6c 69 65 6e | 74 20 61 70 70 6c 69 63 |ur clien|t applic|
|00003280| 61 74 69 6f 6e 2e 0d 47 | 69 76 65 6e 20 61 20 70 |ation..G|iven a p|
|00003290| 61 72 74 69 63 75 6c 61 | 72 20 63 6f 6d 70 6f 6e |articula|r compon|
|000032a0| 65 6e 74 20 74 79 70 65 | 2c 20 74 68 65 20 43 6f |ent type|, the Co|
|000032b0| 6d 70 6f 6e 65 6e 74 20 | 4d 61 6e 61 67 65 72 20 |mponent |Manager |
|000032c0| 63 61 6e 20 6c 6f 63 61 | 74 65 20 61 6e 64 20 71 |can loca|te and q|
|000032d0| 75 65 72 79 20 61 6c 6c | 20 63 6f 6d 70 6f 6e 65 |uery all| compone|
|000032e0| 6e 74 73 20 6f 66 20 74 | 68 61 74 20 74 79 70 65 |nts of t|hat type|
|000032f0| 2e 20 59 6f 75 20 63 61 | 6e 20 66 69 6e 64 20 6f |. You ca|n find o|
|00003300| 75 74 20 68 6f 77 20 6d | 61 6e 79 20 63 6f 6d 70 |ut how m|any comp|
|00003310| 6f 6e 65 6e 74 73 20 6f | 66 20 61 20 73 70 65 63 |onents o|f a spec|
|00003320| 69 66 69 63 20 74 79 70 | 65 20 61 72 65 20 61 76 |ific typ|e are av|
|00003330| 61 69 6c 61 62 6c 65 20 | 61 6e 64 20 79 6f 75 20 |ailable |and you |
|00003340| 63 61 6e 20 67 65 74 20 | 66 75 72 74 68 65 72 20 |can get |further |
|00003350| 64 65 74 61 69 6c 73 20 | 61 62 6f 75 74 20 61 20 |details |about a |
|00003360| 63 6f 6d 70 6f 6e 65 6e | 74 d5 73 20 63 61 70 61 |componen|t.s capa|
|00003370| 62 69 6c 69 74 69 65 73 | 20 77 69 74 68 6f 75 74 |bilities| without|
|00003380| 20 68 61 76 69 6e 67 20 | 74 6f 20 6f 70 65 6e 20 | having |to open |
|00003390| 69 74 20 66 69 72 73 74 | 2e 20 46 6f 72 20 65 61 |it first|. For ea|
|000033a0| 63 68 20 63 6f 6d 70 6f | 6e 65 6e 74 2c 20 74 68 |ch compo|nent, th|
|000033b0| 65 20 43 6f 6d 70 6f 6e | 65 6e 74 20 4d 61 6e 61 |e Compon|ent Mana|
|000033c0| 67 65 72 20 6b 65 65 70 | 73 20 74 72 61 63 6b 20 |ger keep|s track |
|000033d0| 6f 66 20 6d 61 6e 79 20 | 63 68 61 72 61 63 74 65 |of many |characte|
|000033e0| 72 69 73 74 69 63 73 2c | 20 69 6e 63 6c 75 64 69 |ristics,| includi|
|000033f0| 6e 67 20 69 74 73 20 6e | 61 6d 65 2c 20 69 63 6f |ng its n|ame, ico|
|00003400| 6e 2c 20 61 6e 64 20 69 | 6e 66 6f 72 6d 61 74 69 |n, and i|nformati|
|00003410| 6f 6e 20 73 74 72 69 6e | 67 2e 0d 46 6f 72 20 65 |on strin|g..For e|
|00003420| 78 61 6d 70 6c 65 2c 20 | 63 6f 6d 70 6f 6e 65 6e |xample, |componen|
|00003430| 74 73 20 6f 66 20 74 79 | 70 65 20 27 69 6d 64 63 |ts of ty|pe 'imdc|
|00003440| 27 20 70 72 6f 76 69 64 | 65 20 69 6d 61 67 65 20 |' provid|e image |
|00003450| 64 65 63 6f 6d 70 72 65 | 73 73 69 6f 6e 20 73 65 |decompre|ssion se|
|00003460| 72 76 69 63 65 73 2e 20 | 41 6c 6c 20 63 6f 6d 70 |rvices. |All comp|
|00003470| 6f 6e 65 6e 74 73 20 6f | 66 20 74 79 70 65 20 27 |onents o|f type '|
|00003480| 69 6d 64 63 27 20 73 68 | 61 72 65 20 61 20 63 6f |imdc' sh|are a co|
|00003490| 6d 6d 6f 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |mmon app|lication|
|000034a0| 20 69 6e 74 65 72 66 61 | 63 65 2c 20 62 75 74 20 | interfa|ce, but |
|000034b0| 65 61 63 68 20 69 6d 61 | 67 65 20 64 65 63 6f 6d |each ima|ge decom|
|000034c0| 70 72 65 73 73 6f 72 20 | 63 6f 6d 70 6f 6e 65 6e |pressor |componen|
|000034d0| 74 20 6d 61 79 20 73 75 | 70 70 6f 72 74 20 61 20 |t may su|pport a |
|000034e0| 75 6e 69 71 75 65 20 63 | 6f 6d 70 72 65 73 73 69 |unique c|ompressi|
|000034f0| 6f 6e 20 74 65 63 68 6e | 69 71 75 65 20 6f 72 20 |on techn|ique or |
|00003500| 74 61 6b 65 20 61 64 76 | 61 6e 74 61 67 65 20 6f |take adv|antage o|
|00003510| 66 20 61 20 73 70 65 63 | 69 61 6c 20 68 61 72 64 |f a spec|ial hard|
|00003520| 77 61 72 65 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |ware imp|lementat|
|00003530| 69 6f 6e 2e 20 49 6e 64 | 69 76 69 64 75 61 6c 20 |ion. Ind|ividual |
|00003540| 63 6f 6d 70 6f 6e 65 6e | 74 73 20 6d 61 79 20 73 |componen|ts may s|
|00003550| 75 70 70 6f 72 74 20 61 | 64 64 69 74 69 6f 6e 73 |upport a|dditions|
|00003560| 20 74 6f 20 74 68 65 20 | 64 65 66 69 6e 65 64 20 | to the |defined |
|00003570| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 6e 74 65 |applicat|ion inte|
|00003580| 72 66 61 63 65 2c 20 61 | 73 20 6c 6f 6e 67 20 61 |rface, a|s long a|
|00003590| 73 20 74 68 65 79 20 73 | 75 70 70 6f 72 74 20 74 |s they s|upport t|
|000035a0| 68 65 20 63 6f 6d 6d 6f | 6e 20 72 6f 75 74 69 6e |he commo|n routin|
|000035b0| 65 73 2e 20 41 6e 79 20 | 61 6c 67 6f 72 69 74 68 |es. Any |algorith|
|000035c0| 6d 2d 64 65 70 65 6e 64 | 65 6e 74 20 6f 72 20 69 |m-depend|ent or i|
|000035d0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 2d 64 65 |mplement|ation-de|
|000035e0| 70 65 6e 64 65 6e 74 20 | 76 61 72 69 61 74 69 6f |pendent |variatio|
|000035f0| 6e 73 20 6f 66 20 74 68 | 65 20 67 65 6e 65 72 61 |ns of th|e genera|
|00003600| 6c 20 64 65 63 6f 6d 70 | 72 65 73 73 69 6f 6e 20 |l decomp|ression |
|00003610| 69 6e 74 65 72 66 61 63 | 65 20 63 61 6e 20 62 65 |interfac|e can be|
|00003620| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 62 79 20 | impleme|nted by |
|00003630| 65 61 63 68 20 27 69 6d | 64 63 27 20 63 6f 6d 70 |each 'im|dc' comp|
|00003640| 6f 6e 65 6e 74 20 61 73 | 20 65 78 74 65 6e 73 69 |onent as| extensi|
|00003650| 6f 6e 73 20 74 6f 20 74 | 68 65 20 62 61 73 69 63 |ons to t|he basic|
|00003660| 20 69 6e 74 65 72 66 61 | 63 65 2e 20 0d 46 69 67 | interfa|ce. .Fig|
|00003670| 75 72 65 20 31 2d 31 20 | 73 68 6f 77 73 20 74 68 |ure 1-1 |shows th|
|00003680| 65 20 72 65 6c 61 74 69 | 6f 6e 73 68 69 70 20 62 |e relati|onship b|
|00003690| 65 74 77 65 65 6e 20 61 | 6e 20 61 70 70 6c 69 63 |etween a|n applic|
|000036a0| 61 74 69 6f 6e 2c 20 74 | 68 65 20 43 6f 6d 70 6f |ation, t|he Compo|
|000036b0| 6e 65 6e 74 20 4d 61 6e | 61 67 65 72 2c 20 61 6e |nent Man|ager, an|
|000036c0| 64 20 73 65 76 65 72 61 | 6c 20 63 6f 6d 70 6f 6e |d severa|l compon|
|000036d0| 65 6e 74 73 2e 20 41 70 | 70 6c 69 63 61 74 69 6f |ents. Ap|plicatio|
|000036e0| 6e 73 20 61 6e 64 20 6f | 74 68 65 72 20 63 6c 69 |ns and o|ther cli|
|000036f0| 65 6e 74 73 20 75 73 65 | 20 74 68 65 20 43 6f 6d |ents use| the Com|
|00003700| 70 6f 6e 65 6e 74 20 4d | 61 6e 61 67 65 72 20 74 |ponent M|anager t|
|00003710| 6f 20 61 63 63 65 73 73 | 20 63 6f 6d 70 6f 6e 65 |o access| compone|
|00003720| 6e 74 73 2e 20 49 6e 20 | 74 68 69 73 20 66 69 67 |nts. In |this fig|
|00003730| 75 72 65 2c 20 66 6f 75 | 72 20 63 6f 6d 70 6f 6e |ure, fou|r compon|
|00003740| 65 6e 74 73 20 61 72 65 | 20 61 76 61 69 6c 61 62 |ents are| availab|
|00003750| 6c 65 20 74 6f 20 74 68 | 65 20 61 70 70 6c 69 63 |le to th|e applic|
|00003760| 61 74 69 6f 6e 3a 20 61 | 6e 20 69 6d 61 67 65 20 |ation: a|n image |
|00003770| 64 65 63 6f 6d 70 72 65 | 73 73 69 6f 6e 20 63 6f |decompre|ssion co|
|00003780| 6d 70 6f 6e 65 6e 74 20 | 28 6f 66 20 74 79 70 65 |mponent |(of type|
|00003790| 20 27 69 6d 64 63 27 29 | 2c 20 74 77 6f 20 64 72 | 'imdc')|, two dr|
|000037a0| 61 77 69 6e 67 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |awing co|mponents|
|000037b0| 20 28 6f 66 20 74 79 70 | 65 20 27 64 72 61 77 27 | (of typ|e 'draw'|
|000037c0| 29 2c 20 61 6e 64 20 61 | 20 63 6c 6f 63 6b 20 63 |), and a| clock c|
|000037d0| 6f 6d 70 6f 6e 65 6e 74 | 20 28 6f 66 20 74 79 70 |omponent| (of typ|
|000037e0| 65 20 27 63 6c 6f 6b 27 | 29 2e 20 4e 6f 74 65 20 |e 'clok'|). Note |
|000037f0| 74 68 61 74 20 74 68 65 | 20 74 77 6f 20 64 72 61 |that the| two dra|
|00003800| 77 69 6e 67 20 63 6f 6d | 70 6f 6e 65 6e 74 73 20 |wing com|ponents |
|00003810| 68 61 76 65 20 64 69 66 | 66 65 72 65 6e 74 20 73 |have dif|ferent s|
|00003820| 75 62 74 79 70 65 73 3a | 20 27 6f 76 61 6c 27 20 |ubtypes:| 'oval' |
|00003830| 61 6e 64 20 27 72 65 63 | 74 27 2e 20 54 68 65 20 |and 'rec|t'. The |
|00003840| 64 72 61 77 69 6e 67 20 | 63 6f 6d 70 6f 6e 65 6e |drawing |componen|
|00003850| 74 20 77 69 74 68 20 73 | 75 62 74 79 70 65 20 27 |t with s|ubtype '|
|00003860| 6f 76 61 6c 27 20 64 72 | 61 77 73 20 6f 76 61 6c |oval' dr|aws oval|
|00003870| 73 2c 20 61 6e 64 20 74 | 68 65 20 64 72 61 77 69 |s, and t|he drawi|
|00003880| 6e 67 20 63 6f 6d 70 6f | 6e 65 6e 74 20 77 69 74 |ng compo|nent wit|
|00003890| 68 20 73 75 62 74 79 70 | 65 20 27 72 65 63 74 27 |h subtyp|e 'rect'|
|000038a0| 20 64 72 61 77 73 20 72 | 65 63 74 61 6e 67 6c 65 | draws r|ectangle|
|000038b0| 73 2e 0d 46 69 67 75 72 | 65 20 31 2d 31 09 54 68 |s..Figur|e 1-1.Th|
|000038c0| 65 20 72 65 6c 61 74 69 | 6f 6e 73 68 69 70 20 62 |e relati|onship b|
|000038d0| 65 74 77 65 65 6e 20 61 | 6e 20 61 70 70 6c 69 63 |etween a|n applic|
|000038e0| 61 74 69 6f 6e 2c 20 74 | 68 65 20 43 6f 6d 70 6f |ation, t|he Compo|
|000038f0| 6e 65 6e 74 20 4d 61 6e | 61 67 65 72 2c 20 61 6e |nent Man|ager, an|
|00003900| 64 20 63 6f 6d 70 6f 6e | 65 6e 74 73 0d 0d 54 68 |d compon|ents..Th|
|00003910| 65 20 43 6f 6d 70 6f 6e | 65 6e 74 20 4d 61 6e 61 |e Compon|ent Mana|
|00003920| 67 65 72 20 61 6c 6c 6f | 77 73 20 61 20 73 69 6e |ger allo|ws a sin|
|00003930| 67 6c 65 20 63 6f 6d 70 | 6f 6e 65 6e 74 20 74 6f |gle comp|onent to|
|00003940| 20 73 65 72 76 65 20 6d | 75 6c 74 69 70 6c 65 20 | serve m|ultiple |
|00003950| 63 6c 69 65 6e 74 20 61 | 70 70 6c 69 63 61 74 69 |client a|pplicati|
|00003960| 6f 6e 73 20 61 74 20 74 | 68 65 20 73 61 6d 65 20 |ons at t|he same |
|00003970| 74 69 6d 65 2e 20 45 61 | 63 68 20 63 6c 69 65 6e |time. Ea|ch clien|
|00003980| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 68 61 |t applic|ation ha|
|00003990| 73 20 61 20 75 6e 69 71 | 75 65 20 61 63 63 65 73 |s a uniq|ue acces|
|000039a0| 73 20 70 61 74 68 20 74 | 6f 20 74 68 65 20 63 6f |s path t|o the co|
|000039b0| 6d 70 6f 6e 65 6e 74 2e | 20 54 68 65 73 65 20 61 |mponent.| These a|
|000039c0| 63 63 65 73 73 20 70 61 | 74 68 73 20 61 72 65 20 |ccess pa|ths are |
|000039d0| 63 61 6c 6c 65 64 20 63 | 6f 6d 70 6f 6e 65 6e 74 |called c|omponent|
|000039e0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 73 2e 20 59 6f | connect|ions. Yo|
|000039f0| 75 20 69 64 65 6e 74 69 | 66 79 20 0d 61 20 63 6f |u identi|fy .a co|
|00003a00| 6d 70 6f 6e 65 6e 74 20 | 63 6f 6e 6e 65 63 74 69 |mponent |connecti|
|00003a10| 6f 6e 20 62 79 20 73 70 | 65 63 69 66 79 69 6e 67 |on by sp|ecifying|
|00003a20| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 20 69 6e 73 | a compo|nent ins|
|00003a30| 74 61 6e 63 65 2e 20 54 | 68 65 20 43 6f 6d 70 6f |tance. T|he Compo|
|00003a40| 6e 65 6e 74 20 4d 61 6e | 61 67 65 72 20 70 72 6f |nent Man|ager pro|
|00003a50| 76 69 64 65 73 20 74 68 | 69 73 20 63 6f 6d 70 6f |vides th|is compo|
|00003a60| 6e 65 6e 74 20 69 6e 73 | 74 61 6e 63 65 20 74 6f |nent ins|tance to|
|00003a70| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00003a80| 6e 20 77 68 65 6e 20 79 | 6f 75 20 6f 70 65 6e 20 |n when y|ou open |
|00003a90| 61 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 74 6f 20 |a connec|tion to |
|00003aa0| 61 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 20 54 68 65 |a compon|ent. The|
|00003ab0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 6d 61 69 6e 74 | compone|nt maint|
|00003ac0| 61 69 6e 73 20 73 65 70 | 61 72 61 74 65 20 73 74 |ains sep|arate st|
|00003ad0| 61 74 75 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |atus inf|ormation|
|00003ae0| 20 66 6f 72 20 65 61 63 | 68 20 6f 70 65 6e 20 63 | for eac|h open c|
|00003af0| 6f 6e 6e 65 63 74 69 6f | 6e 2e 0d 46 6f 72 20 65 |onnectio|n..For e|
|00003b00| 78 61 6d 70 6c 65 2c 20 | 6d 75 6c 74 69 70 6c 65 |xample, |multiple|
|00003b10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 6d 69 | applica|tions mi|
|00003b20| 67 68 74 20 65 61 63 68 | 20 6f 70 65 6e 20 61 20 |ght each| open a |
|00003b30| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 74 6f 20 61 6e |connecti|on to an|
|00003b40| 20 69 6d 61 67 65 20 64 | 65 63 6f 6d 70 72 65 73 | image d|ecompres|
|00003b50| 73 69 6f 6e 20 63 6f 6d | 70 6f 6e 65 6e 74 2e 20 |sion com|ponent. |
|00003b60| 54 68 65 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 4d 61 |The Comp|onent Ma|
|00003b70| 6e 61 67 65 72 20 72 6f | 75 74 65 73 20 65 61 63 |nager ro|utes eac|
|00003b80| 68 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 72 65 |h applic|ation re|
|00003b90| 71 75 65 73 74 20 74 6f | 20 74 68 65 20 63 6f 6d |quest to| the com|
|00003ba0| 70 6f 6e 65 6e 74 20 69 | 6e 73 74 61 6e 63 65 20 |ponent i|nstance |
|00003bb0| 66 6f 72 20 74 68 61 74 | 20 63 6f 6e 6e 65 63 74 |for that| connect|
|00003bc0| 69 6f 6e 2e 20 42 65 63 | 61 75 73 65 20 61 20 63 |ion. Bec|ause a c|
|00003bd0| 6f 6d 70 6f 6e 65 6e 74 | 20 63 61 6e 20 6d 61 69 |omponent| can mai|
|00003be0| 6e 74 61 69 6e 20 73 65 | 70 61 72 61 74 65 20 73 |ntain se|parate s|
|00003bf0| 74 6f 72 61 67 65 20 66 | 6f 72 20 65 61 63 68 20 |torage f|or each |
|00003c00| 63 6f 6e 6e 65 63 74 69 | 6f 6e 2c 20 61 70 70 6c |connecti|on, appl|
|00003c10| 69 63 61 74 69 6f 6e 20 | 72 65 71 75 65 73 74 73 |ication |requests|
|00003c20| 20 64 6f 20 6e 6f 74 20 | 69 6e 74 65 72 66 65 72 | do not |interfer|
|00003c30| 65 20 77 69 74 68 20 65 | 61 63 68 20 6f 74 68 65 |e with e|ach othe|
|00003c40| 72 20 61 6e 64 20 65 61 | 63 68 20 61 70 70 6c 69 |r and ea|ch appli|
|00003c50| 63 61 74 69 6f 6e 20 68 | 61 73 20 66 75 6c 6c 20 |cation h|as full |
|00003c60| 61 63 63 65 73 73 20 74 | 6f 20 74 68 65 20 73 65 |access t|o the se|
|00003c70| 72 76 69 63 65 73 20 70 | 72 6f 76 69 64 65 64 20 |rvices p|rovided |
|00003c80| 62 79 20 74 68 65 20 63 | 6f 6d 70 6f 6e 65 6e 74 |by the c|omponent|
|00003c90| 2e 20 0d 28 53 65 65 20 | 46 69 67 75 72 65 20 31 |. .(See |Figure 1|
|00003ca0| 2d 32 20 6f 6e 20 70 61 | 67 65 20 33 33 20 66 6f |-2 on pa|ge 33 fo|
|00003cb0| 72 20 61 6e 20 69 6c 6c | 75 73 74 72 61 74 69 6f |r an ill|ustratio|
|00003cc0| 6e 20 6f 66 20 6d 75 6c | 74 69 70 6c 65 20 61 70 |n of mul|tiple ap|
|00003cd0| 6c 69 63 61 74 69 6f 6e | 73 20 75 73 69 6e 67 20 |lication|s using |
|00003ce0| 74 68 65 20 73 65 72 76 | 69 63 65 73 20 6f 66 20 |the serv|ices of |
|00003cf0| 74 68 65 20 73 61 6d 65 | 20 63 6f 6d 70 6f 6e 65 |the same| compone|
|00003d00| 6e 74 2e 29 20 0d 0d 55 | 73 69 6e 67 20 74 68 65 |nt.) ..U|sing the|
|00003d10| 20 43 6f 6d 70 6f 6e 65 | 6e 74 20 4d 61 6e 61 67 | Compone|nt Manag|
|00003d20| 65 72 0d 0d 54 68 69 73 | 20 73 65 63 74 69 6f 6e |er..This| section|
|00003d30| 20 64 65 73 63 72 69 62 | 65 73 20 68 6f 77 20 79 | describ|es how y|
|00003d40| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 43 |ou can u|se the C|
|00003d50| 6f 6d 70 6f 6e 65 6e 74 | 20 4d 61 6e 61 67 65 72 |omponent| Manager|
|00003d60| 20 74 6f 20 0d 6e 09 67 | 61 69 6e 20 61 63 63 65 | to .n.g|ain acce|
|00003d70| 73 73 20 74 6f 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |ss to co|mponents|
|00003d80| 0d 6e 09 6c 6f 63 61 74 | 65 20 63 6f 6d 70 6f 6e |.n.locat|e compon|
|00003d90| 65 6e 74 73 20 61 6e 64 | 20 74 61 6b 65 20 61 64 |ents and| take ad|
|00003da0| 76 61 6e 74 61 67 65 20 | 6f 66 20 74 68 65 69 72 |vantage |of their|
|00003db0| 20 73 65 72 76 69 63 65 | 73 0d 6e 09 67 65 74 20 | service|s.n.get |
|00003dc0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00003dd0| 74 20 61 20 63 6f 6d 70 | 6f 6e 65 6e 74 0d 6e 09 |t a comp|onent.n.|
|00003de0| 63 6c 6f 73 65 20 61 20 | 63 6f 6e 6e 65 63 74 69 |close a |connecti|
|00003df0| 6f 6e 20 74 6f 20 61 20 | 63 6f 6d 70 6f 6e 65 6e |on to a |componen|
|00003e00| 74 0d 54 68 65 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |t.The Co|mponent |
|00003e10| 4d 61 6e 61 67 65 72 20 | 69 73 20 61 76 61 69 6c |Manager |is avail|
|00003e20| 61 62 6c 65 20 69 6e 20 | 53 79 73 74 65 6d 20 37 |able in |System 7|
|00003e30| 2e 31 20 6f 72 20 6c 61 | 74 65 72 20 61 6e 64 20 |.1 or la|ter and |
|00003e40| 6d 61 79 20 62 65 20 70 | 72 65 73 65 6e 74 20 69 |may be p|resent i|
|00003e50| 6e 20 53 79 73 74 65 6d | 20 37 2e 20 54 6f 20 64 |n System| 7. To d|
|00003e60| 65 74 65 72 6d 69 6e 65 | 20 77 68 65 74 68 65 72 |etermine| whether|
|00003e70| 20 74 68 65 20 43 6f 6d | 70 6f 6e 65 6e 74 20 4d | the Com|ponent M|
|00003e80| 61 6e 61 67 65 72 20 69 | 73 20 61 76 61 69 6c 61 |anager i|s availa|
|00003e90| 62 6c 65 2c 20 63 61 6c | 6c 20 74 68 65 20 47 65 |ble, cal|l the Ge|
|00003ea0| 73 74 61 6c 74 20 66 75 | 6e 63 74 69 6f 6e 20 77 |stalt fu|nction w|
|00003eb0| 69 74 68 20 74 68 65 20 | 67 65 73 74 61 6c 74 43 |ith the |gestaltC|
|00003ec0| 6f 6d 70 6f 6e 65 6e 74 | 4d 67 72 20 73 65 6c 65 |omponent|Mgr sele|
|00003ed0| 63 74 6f 72 20 61 6e 64 | 20 63 68 65 63 6b 20 74 |ctor and| check t|
|00003ee0| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |he value| of the |
|00003ef0| 72 65 73 70 6f 6e 73 65 | 20 70 61 72 61 6d 65 74 |response| paramet|
|00003f00| 65 72 2e 20 0d 43 4f 4e | 53 54 0d 09 67 65 73 74 |er. .CON|ST..gest|
|00003f10| 61 6c 74 43 6f 6d 70 6f | 6e 65 6e 74 4d 67 72 09 |altCompo|nentMgr.|
|00003f20| 09 09 09 09 09 09 20 09 | 3d 20 27 63 70 6e 74 27 |...... .|= 'cpnt'|
|00003f30| 3b 0d 54 68 65 20 47 65 | 73 74 61 6c 74 20 66 75 |;.The Ge|stalt fu|
|00003f40| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 69 |nction r|eturns i|
|00003f50| 6e 20 74 68 65 20 72 65 | 73 70 6f 6e 73 65 20 70 |n the re|sponse p|
|00003f60| 61 72 61 6d 65 74 65 72 | 20 61 20 33 32 2d 62 69 |arameter| a 32-bi|
|00003f70| 74 20 76 61 6c 75 65 20 | 69 6e 64 69 63 61 74 69 |t value |indicati|
|00003f80| 6e 67 20 74 68 65 20 76 | 65 72 73 69 6f 6e 20 6f |ng the v|ersion o|
|00003f90| 66 20 74 68 65 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |f the Co|mponent |
|00003fa0| 4d 61 6e 61 67 65 72 20 | 74 68 61 74 20 69 73 20 |Manager |that is |
|00003fb0| 69 6e 73 74 61 6c 6c 65 | 64 2e 20 56 65 72 73 69 |installe|d. Versi|
|00003fc0| 6f 6e 20 33 20 61 6e 64 | 20 61 62 6f 76 65 20 73 |on 3 and| above s|
|00003fd0| 75 70 70 6f 72 74 73 20 | 61 75 74 6f 6d 61 74 69 |upports |automati|
|00003fe0| 63 20 76 65 72 73 69 6f | 6e 20 63 6f 6e 74 72 6f |c versio|n contro|
|00003ff0| 6c 2c 20 74 68 65 20 75 | 6e 72 65 67 69 73 74 65 |l, the u|nregiste|
|00004000| 72 20 72 65 71 75 65 73 | 74 2c 20 61 6e 64 20 69 |r reques|t, and i|
|00004010| 63 6f 6e 20 66 61 6d 69 | 6c 69 65 73 2e 20 59 6f |con fami|lies. Yo|
|00004020| 75 20 73 68 6f 75 6c 64 | 20 74 65 73 74 20 74 68 |u should| test th|
|00004030| 65 20 76 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 |e versio|n number|
|00004040| 20 62 65 66 6f 72 65 20 | 75 73 69 6e 67 20 61 6e | before |using an|
|00004050| 79 20 6f 66 20 74 68 65 | 73 65 20 66 65 61 74 75 |y of the|se featu|
|00004060| 72 65 73 2e 0d 54 68 69 | 73 20 73 65 63 74 69 6f |res..Thi|s sectio|
|00004070| 6e 20 70 72 65 73 65 6e | 74 73 20 73 65 76 65 72 |n presen|ts sever|
|00004080| 61 6c 20 65 78 61 6d 70 | 6c 65 73 20 64 65 6d 6f |al examp|les demo|
|00004090| 6e 73 74 72 61 74 69 6e | 67 20 68 6f 77 20 74 6f |nstratin|g how to|
|000040a0| 20 75 73 65 20 63 6f 6d | 70 6f 6e 65 6e 74 73 20 | use com|ponents |
|000040b0| 61 6e 64 20 74 68 65 20 | 43 6f 6d 70 6f 6e 65 6e |and the |Componen|
|000040c0| 74 20 4d 61 6e 61 67 65 | 72 2e 20 41 6c 6c 20 6f |t Manage|r. All o|
|000040d0| 66 20 74 68 65 73 65 20 | 65 78 61 6d 70 6c 65 73 |f these |examples|
|000040e0| 20 75 73 65 20 74 68 65 | 20 73 65 72 76 69 63 65 | use the| service|
|000040f0| 73 20 6f 66 20 61 20 64 | 72 61 77 69 6e 67 20 63 |s of a d|rawing c|
|00004100| 6f 6d 70 6f 6e 65 6e 74 | d1 61 20 73 69 6d 70 6c |omponent|.a simpl|
|00004110| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 20 74 68 61 74 |e compon|ent that|
|00004120| 20 64 72 61 77 73 20 61 | 6e 20 6f 62 6a 65 63 74 | draws a|n object|
|00004130| 20 6f 66 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 | of a pa|rticular|
|00004140| 20 73 68 61 70 65 20 6f | 6e 20 74 68 65 20 73 63 | shape o|n the sc|
|00004150| 72 65 65 6e 2e 20 44 72 | 61 77 69 6e 67 20 63 6f |reen. Dr|awing co|
|00004160| 6d 70 6f 6e 65 6e 74 73 | 20 68 61 76 65 20 61 20 |mponents| have a |
|00004170| 63 6f 6d 70 6f 6e 65 6e | 74 20 74 79 70 65 20 6f |componen|t type o|
|00004180| 66 20 27 64 72 61 77 27 | 2e 20 54 68 65 20 63 6f |f 'draw'|. The co|
|00004190| 6d 70 6f 6e 65 6e 74 20 | 73 75 62 74 79 70 65 20 |mponent |subtype |
|000041a0| 76 61 6c 75 65 20 69 6e | 64 69 63 61 74 65 73 20 |value in|dicates |
|000041b0| 74 68 65 20 74 79 70 65 | 20 6f 66 20 6f 62 6a 65 |the type| of obje|
|000041c0| 63 74 20 74 68 65 20 63 | 6f 6d 70 6f 6e 65 6e 74 |ct the c|omponent|
|000041d0| 20 64 72 61 77 73 2e 20 | 46 6f 72 20 65 78 61 6d | draws. |For exam|
|000041e0| 70 6c 65 2c 20 61 20 64 | 72 61 77 69 6e 67 20 63 |ple, a d|rawing c|
|000041f0| 6f 6d 70 6f 6e 65 6e 74 | 20 74 68 61 74 20 64 72 |omponent| that dr|
|00004200| 61 77 73 20 61 6e 20 6f | 76 61 6c 20 68 61 73 20 |aws an o|val has |
|00004210| 61 20 63 6f 6d 70 6f 6e | 65 6e 74 20 73 75 62 74 |a compon|ent subt|
|00004220| 79 70 65 20 6f 66 20 27 | 6f 76 61 6c 27 2e 20 46 |ype of '|oval'. F|
|00004230| 6f 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |or infor|mation o|
|00004240| 6e 20 63 72 65 61 74 69 | 6e 67 20 79 6f 75 72 20 |n creati|ng your |
|00004250| 6f 77 6e 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 61 |own comp|onents a|
|00004260| 6e 64 20 66 6f 72 20 6c | 69 73 74 69 6e 67 73 20 |nd for l|istings |
|00004270| 74 68 61 74 20 73 68 6f | 77 20 74 68 65 20 63 6f |that sho|w the co|
|00004280| 64 65 20 66 6f 72 20 61 | 20 64 72 61 77 69 6e 67 |de for a| drawing|
|00004290| 20 63 6f 6d 70 6f 6e 65 | 6e 74 2c 20 73 65 65 20 | compone|nt, see |
|000042a0| d2 43 72 65 61 74 69 6e | 67 20 43 6f 6d 70 6f 6e |.Creatin|g Compon|
|000042b0| 65 6e 74 73 d3 20 62 65 | 67 69 6e 6e 69 6e 67 20 |ents. be|ginning |
|000042c0| 6f 6e 20 70 61 67 65 20 | 31 32 2e 0d 4f 70 65 6e |on page |12..Open|
|000042d0| 69 6e 67 20 43 6f 6e 6e | 65 63 74 69 6f 6e 73 20 |ing Conn|ections |
|000042e0| 74 6f 20 43 6f 6d 70 6f | 6e 65 6e 74 73 0d 0d 57 |to Compo|nents..W|
|000042f0| 68 65 6e 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |hen your| applica|
|00004300| 74 69 6f 6e 20 72 65 71 | 75 69 72 65 73 20 74 68 |tion req|uires th|
|00004310| 65 20 73 65 72 76 69 63 | 65 73 20 6f 66 20 61 20 |e servic|es of a |
|00004320| 63 6f 6d 70 6f 6e 65 6e | 74 2c 20 79 6f 75 20 74 |componen|t, you t|
|00004330| 79 70 69 63 61 6c 6c 79 | 20 70 65 72 66 6f 72 6d |ypically| perform|
|00004340| 20 74 68 65 73 65 20 73 | 74 65 70 73 3a 0d 6e 09 | these s|teps:.n.|
|00004350| 6f 70 65 6e 20 61 20 63 | 6f 6e 6e 65 63 74 69 6f |open a c|onnectio|
|00004360| 6e 20 74 6f 20 74 68 65 | 20 64 65 73 69 72 65 64 |n to the| desired|
|00004370| 20 63 6f 6d 70 6f 6e 65 | 6e 74 0d 6e 09 75 73 65 | compone|nt.n.use|
|00004380| 20 74 68 65 20 73 65 72 | 76 69 63 65 73 20 6f 66 | the ser|vices of|
|00004390| 20 74 68 65 20 63 6f 6d | 70 6f 6e 65 6e 74 0d 6e | the com|ponent.n|
|000043a0| 09 63 6c 6f 73 65 20 74 | 68 65 20 63 6f 6e 6e 65 |.close t|he conne|
|000043b0| 63 74 69 6f 6e 20 74 6f | 20 74 68 65 20 63 6f 6d |ction to| the com|
|000043c0| 70 6f 6e 65 6e 74 0d 54 | 68 65 20 66 6f 6c 6c 6f |ponent.T|he follo|
|000043d0| 77 69 6e 67 20 73 65 63 | 74 69 6f 6e 73 20 64 65 |wing sec|tions de|
|000043e0| 73 63 72 69 62 65 20 65 | 61 63 68 20 6f 66 20 74 |scribe e|ach of t|
|000043f0| 68 65 73 65 20 73 74 65 | 70 73 20 69 6e 20 6d 6f |hese ste|ps in mo|
|00004400| 72 65 20 64 65 74 61 69 | 6c 2e 0d 4f 70 65 6e 69 |re detai|l..Openi|
|00004410| 6e 67 20 61 20 43 6f 6e | 6e 65 63 74 69 6f 6e 20 |ng a Con|nection |
|00004420| 74 6f 20 61 20 44 65 66 | 61 75 6c 74 20 43 6f 6d |to a Def|ault Com|
|00004430| 70 6f 6e 65 6e 74 0d 0d | 59 6f 75 72 20 61 70 70 |ponent..|Your app|
|00004440| 6c 69 63 61 74 69 6f 6e | 20 6d 75 73 74 20 75 73 |lication| must us|
|00004450| 65 20 74 68 65 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |e the Co|mponent |
|00004460| 4d 61 6e 61 67 65 72 20 | 74 6f 20 67 61 69 6e 20 |Manager |to gain |
|00004470| 61 63 63 65 73 73 20 74 | 6f 20 61 20 63 6f 6d 70 |access t|o a comp|
|00004480| 6f 6e 65 6e 74 2e 20 54 | 68 65 20 66 69 72 73 74 |onent. T|he first|
|00004490| 20 73 74 65 70 20 69 73 | 20 74 6f 20 6c 6f 63 61 | step is| to loca|
|000044a0| 74 65 20 61 6e 20 61 70 | 70 72 6f 70 72 69 61 74 |te an ap|propriat|
|000044b0| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 20 59 6f 75 |e compon|ent. You|
|000044c0| 20 63 61 6e 20 6c 6f 63 | 61 74 65 20 74 68 65 20 | can loc|ate the |
|000044d0| 63 6f 6d 70 6f 6e 65 6e | 74 20 79 6f 75 72 73 65 |componen|t yourse|
|000044e0| 6c 66 2c 20 6f 72 20 79 | 6f 75 20 63 61 6e 20 61 |lf, or y|ou can a|
|000044f0| 6c 6c 6f 77 20 74 68 65 | 20 43 6f 6d 70 6f 6e 65 |llow the| Compone|
|00004500| 6e 74 20 4d 61 6e 61 67 | 65 72 20 74 6f 20 6c 6f |nt Manag|er to lo|
|00004510| 63 61 74 65 20 61 20 73 | 75 69 74 61 62 6c 65 20 |cate a s|uitable |
|00004520| 63 6f 6d 70 6f 6e 65 6e | 74 20 66 6f 72 20 79 6f |componen|t for yo|
|00004530| 75 2e 20 59 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |u. Your |applicat|
|00004540| 69 6f 6e 20 74 68 65 6e | 20 6f 70 65 6e 73 20 61 |ion then| opens a|
|00004550| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 74 6f 20 74 | connect|ion to t|
|00004560| 68 61 74 20 63 6f 6d 70 | 6f 6e 65 6e 74 2e 20 4f |hat comp|onent. O|
|00004570| 6e 63 65 20 79 6f 75 20 | 68 61 76 65 20 6f 70 65 |nce you |have ope|
|00004580| 6e 65 64 20 61 20 63 6f | 6e 6e 65 63 74 69 6f 6e |ned a co|nnection|
|00004590| 20 74 6f 20 61 20 63 6f | 6d 70 6f 6e 65 6e 74 2c | to a co|mponent,|
|000045a0| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 74 68 65 | you can| use the|
|000045b0| 20 73 65 72 76 69 63 65 | 73 20 70 72 6f 76 69 64 | service|s provid|
|000045c0| 65 64 20 62 79 20 74 68 | 61 74 20 63 6f 6d 70 6f |ed by th|at compo|
|000045d0| 6e 65 6e 74 2e 20 57 68 | 65 6e 20 79 6f 75 20 68 |nent. Wh|en you h|
|000045e0| 61 76 65 20 66 69 6e 69 | 73 68 65 64 20 75 73 69 |ave fini|shed usi|
|000045f0| 6e 67 20 74 68 65 20 63 | 6f 6d 70 6f 6e 65 6e 74 |ng the c|omponent|
|00004600| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 63 6c 6f |, you sh|ould clo|
|00004610| 73 65 20 74 68 65 20 63 | 6f 6e 6e 65 63 74 69 6f |se the c|onnectio|
|00004620| 6e 2e 20 0d 49 66 20 79 | 6f 75 20 61 72 65 20 69 |n. .If y|ou are i|
|00004630| 6e 74 65 72 65 73 74 65 | 64 20 6f 6e 6c 79 20 69 |ntereste|d only i|
|00004640| 6e 20 75 73 69 6e 67 20 | 61 20 63 6f 6d 70 6f 6e |n using |a compon|
|00004650| 65 6e 74 20 6f 66 20 61 | 20 70 61 72 74 69 63 75 |ent of a| particu|
|00004660| 6c 61 72 20 74 79 70 65 | 2d 73 75 62 74 79 70 65 |lar type|-subtype|
|00004670| 20 61 6e 64 20 79 6f 75 | 20 64 6f 20 6e 6f 74 20 | and you| do not |
|00004680| 6e 65 65 64 20 74 6f 20 | 73 70 65 63 69 66 79 20 |need to |specify |
|00004690| 61 6e 79 20 6f 74 68 65 | 72 20 63 68 61 72 61 63 |any othe|r charac|
|000046a0| 74 65 72 69 73 74 69 63 | 73 20 6f 66 20 74 68 65 |teristic|s of the|
|000046b0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 2c 20 75 73 65 20 | compone|nt, use |
|000046c0| 74 68 65 20 4f 70 65 6e | 44 65 66 61 75 6c 74 43 |the Open|DefaultC|
|000046d0| 6f 6d 70 6f 6e 65 6e 74 | 20 66 75 6e 63 74 69 6f |omponent| functio|
|000046e0| 6e 20 61 6e 64 20 73 70 | 65 63 69 66 79 20 6f 6e |n and sp|ecify on|
|000046f0| 6c 79 20 74 68 65 20 63 | 6f 6d 70 6f 6e 65 6e 74 |ly the c|omponent|
|00004700| 20 74 79 70 65 20 61 6e | 64 20 73 75 62 74 79 70 | type an|d subtyp|
|00004710| 65 d1 74 68 65 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |e.the Co|mponent |
|00004720| 4d 61 6e 61 67 65 72 20 | 74 68 65 6e 20 73 65 6c |Manager |then sel|
|00004730| 65 63 74 73 20 61 20 63 | 6f 6d 70 6f 6e 65 6e 74 |ects a c|omponent|
|00004740| 20 66 6f 72 20 79 6f 75 | 20 61 6e 64 20 6f 70 65 | for you| and ope|
|00004750| 6e 73 20 61 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 |ns a con|nection |
|00004760| 74 6f 20 74 68 61 74 20 | 63 6f 6d 70 6f 6e 65 6e |to that |componen|
|00004770| 74 2e 20 54 68 69 73 20 | 69 73 20 74 68 65 20 65 |t. This |is the e|
|00004780| 61 73 69 65 73 74 20 74 | 65 63 68 6e 69 71 75 65 |asiest t|echnique|
|00004790| 20 66 6f 72 20 6f 70 65 | 6e 69 6e 67 20 61 20 63 | for ope|ning a c|
|000047a0| 6f 6d 70 6f 6e 65 6e 74 | 20 63 6f 6e 6e 65 63 74 |omponent| connect|
|000047b0| 69 6f 6e 2e 20 54 68 65 | 20 4f 70 65 6e 44 65 66 |ion. The| OpenDef|
|000047c0| 61 75 6c 74 43 6f 6d 70 | 6f 6e 65 6e 74 20 66 75 |aultComp|onent fu|
|000047d0| 6e 63 74 69 6f 6e 20 73 | 65 61 72 63 68 65 73 20 |nction s|earches |
|000047e0| 69 74 73 20 6c 69 73 74 | 20 6f 66 20 61 76 61 69 |its list| of avai|
|000047f0| 6c 61 62 6c 65 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |lable co|mponents|
|00004800| 20 61 6e 64 20 61 74 74 | 65 6d 70 74 73 20 74 6f | and att|empts to|
|00004810| 20 6f 70 65 6e 20 61 20 | 63 6f 6e 6e 65 63 74 69 | open a |connecti|
|00004820| 6f 6e 20 74 6f 20 61 20 | 63 6f 6d 70 6f 6e 65 6e |on to a |componen|
|00004830| 74 20 77 69 74 68 20 74 | 68 65 20 73 70 65 63 69 |t with t|he speci|
|00004840| 66 69 65 64 20 74 79 70 | 65 20 61 6e 64 20 73 75 |fied typ|e and su|
|00004850| 62 74 79 70 65 2e 20 0d | 49 66 20 6d 6f 72 65 20 |btype. .|If more |
|00004860| 74 68 61 6e 20 6f 6e 65 | 20 63 6f 6d 70 6f 6e 65 |than one| compone|
|00004870| 6e 74 20 6f 66 20 74 68 | 65 20 73 70 65 63 69 66 |nt of th|e specif|
|00004880| 69 65 64 20 74 79 70 65 | 20 61 6e 64 20 73 75 62 |ied type| and sub|
|00004890| 74 79 70 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |type is |availabl|
|000048a0| 65 2c 20 4f 70 65 6e 44 | 65 66 61 75 6c 74 43 6f |e, OpenD|efaultCo|
|000048b0| 6d 70 6f 6e 65 6e 74 20 | 73 65 6c 65 63 74 73 20 |mponent |selects |
|000048c0| 74 68 65 20 66 69 72 73 | 74 20 6f 6e 65 20 69 6e |the firs|t one in|
|000048d0| 20 74 68 65 20 6c 69 73 | 74 2e 20 49 66 20 73 75 | the lis|t. If su|
|000048e0| 63 63 65 73 73 66 75 6c | 2c 20 0d 74 68 65 20 4f |ccessful|, .the O|
|000048f0| 70 65 6e 44 65 66 61 75 | 6c 74 43 6f 6d 70 6f 6e |penDefau|ltCompon|
|00004900| 65 6e 74 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 74 |ent func|tion ret|
|00004910| 75 72 6e 73 20 61 20 63 | 6f 6d 70 6f 6e 65 6e 74 |urns a c|omponent|
|00004920| 20 69 6e 73 74 61 6e 63 | 65 20 74 68 61 74 20 69 | instanc|e that i|
|00004930| 64 65 6e 74 69 66 69 65 | 73 20 79 6f 75 72 20 63 |dentifie|s your c|
|00004940| 6f 6e 6e 65 63 74 69 6f | 6e 20 74 6f 20 74 68 65 |onnectio|n to the|
|00004950| 20 63 6f 6d 70 6f 6e 65 | 6e 74 2e 20 59 6f 75 20 | compone|nt. You |
|00004960| 63 61 6e 20 74 68 65 6e | 20 75 73 65 20 74 68 61 |can then| use tha|
|00004970| 74 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 74 6f 20 |t connec|tion to |
|00004980| 65 6d 70 6c 6f 79 20 74 | 68 65 20 73 65 72 76 69 |employ t|he servi|
|00004990| 63 65 73 20 6f 66 20 74 | 68 65 20 73 65 6c 65 63 |ces of t|he selec|
|000049a0| 74 65 64 20 63 6f 6d 70 | 6f 6e 65 6e 74 2e 0d 54 |ted comp|onent..T|
|000049b0| 68 69 73 20 63 6f 64 65 | 20 64 65 6d 6f 6e 73 74 |his code| demonst|
|000049c0| 72 61 74 65 73 20 74 68 | 65 20 75 73 65 20 6f 66 |rates th|e use of|
|000049d0| 20 74 68 65 20 4f 70 65 | 6e 44 65 66 61 75 6c 74 | the Ope|nDefault|
|000049e0| 43 6f 6d 70 6f 6e 65 6e | 74 20 66 75 6e 63 74 69 |Componen|t functi|
|000049f0| 6f 6e 2e 20 54 68 65 20 | 63 6f 64 65 20 6f 70 65 |on. The |code ope|
|00004a00| 6e 73 20 61 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 |ns a con|nection |
|00004a10| 74 6f 20 61 20 63 6f 6d | 70 6f 6e 65 6e 74 20 6f |to a com|ponent o|
|00004a20| 66 20 74 79 70 65 20 27 | 64 72 61 77 27 20 61 6e |f type '|draw' an|
|00004a30| 64 20 73 75 62 74 79 70 | 65 20 27 6f 76 61 6c 27 |d subtyp|e 'oval'|
|00004a40| d1 61 20 64 72 61 77 69 | 6e 67 20 63 6f 6d 70 6f |.a drawi|ng compo|
|00004a50| 6e 65 6e 74 20 74 68 61 | 74 20 64 72 61 77 73 20 |nent tha|t draws |
|00004a60| 61 6e 20 6f 76 61 6c 2e | 0d 56 41 52 0d 09 61 44 |an oval.|.VAR..aD|
|00004a70| 72 61 77 4f 76 61 6c 43 | 6f 6d 70 3a 20 43 6f 6d |rawOvalC|omp: Com|
|00004a80| 70 6f 6e 65 6e 74 49 6e | 73 74 61 6e 63 65 3b 0d |ponentIn|stance;.|
|00004a90| 0d 09 61 44 72 61 77 4f | 76 61 6c 43 6f 6d 70 20 |..aDrawO|valComp |
|00004aa0| 3a 3d 20 4f 70 65 6e 44 | 65 66 61 75 6c 74 43 6f |:= OpenD|efaultCo|
|00004ab0| 6d 70 6f 6e 65 6e 74 28 | 27 64 72 61 77 27 2c 20 |mponent(|'draw', |
|00004ac0| 27 6f 76 61 6c 27 29 3b | 0d 49 66 20 69 74 20 63 |'oval');|.If it c|
|00004ad0| 61 6e 6e 6f 74 20 66 69 | 6e 64 20 6f 72 20 6f 70 |annot fi|nd or op|
|00004ae0| 65 6e 20 61 20 63 6f 6d | 70 6f 6e 65 6e 74 20 6f |en a com|ponent o|
|00004af0| 66 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |f the sp|ecified |
|00004b00| 74 79 70 65 2d 73 75 62 | 74 79 70 65 2c 20 74 68 |type-sub|type, th|
|00004b10| 65 20 4f 70 65 6e 44 65 | 66 61 75 6c 74 43 6f 6d |e OpenDe|faultCom|
|00004b20| 70 6f 6e 65 6e 74 20 66 | 75 6e 63 74 69 6f 6e 20 |ponent f|unction |
|00004b30| 72 65 74 75 72 6e 73 20 | 61 20 66 75 6e 63 74 69 |returns |a functi|
|00004b40| 6f 6e 20 72 65 73 75 6c | 74 20 6f 66 20 4e 49 4c |on resul|t of NIL|
|00004b50| 2e 20 0d 54 6f 20 6f 70 | 65 6e 20 61 20 63 6f 6e |. .To op|en a con|
|00004b60| 6e 65 63 74 69 6f 6e 20 | 74 6f 20 61 20 63 6f 6d |nection |to a com|
|00004b70| 70 6f 6e 65 6e 74 20 77 | 69 74 68 20 61 20 73 70 |ponent w|ith a sp|
|00004b80| 65 63 69 66 69 63 20 74 | 79 70 65 2d 73 75 62 74 |ecific t|ype-subt|
|00004b90| 79 70 65 2d 6d 61 6e 75 | 66 61 63 74 75 72 65 72 |ype-manu|facturer|
|00004ba0| 20 63 6f 64 65 20 6f 72 | 20 77 69 74 68 20 6f 74 | code or| with ot|
|00004bb0| 68 65 72 20 73 70 65 63 | 69 66 69 65 64 20 63 68 |her spec|ified ch|
|00004bc0| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 2c 20 66 |aracteri|stics, f|
|00004bd0| 69 72 73 74 20 75 73 65 | 20 74 68 65 20 46 69 6e |irst use| the Fin|
|00004be0| 64 4e 65 78 74 43 6f 6d | 70 6f 6e 65 6e 74 20 66 |dNextCom|ponent f|
|00004bf0| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 66 69 6e 64 20 |unction |to find |
|00004c00| 74 68 65 20 64 65 73 69 | 72 65 64 20 63 6f 6d 70 |the desi|red comp|
|00004c10| 6f 6e 65 6e 74 2c 20 74 | 68 65 6e 20 6f 70 65 6e |onent, t|hen open|
|00004c20| 20 74 68 65 20 63 6f 6d | 70 6f 6e 65 6e 74 20 75 | the com|ponent u|
|00004c30| 73 69 6e 67 20 74 68 65 | 20 4f 70 65 6e 43 6f 6d |sing the| OpenCom|
|00004c40| 70 6f 6e 65 6e 74 20 66 | 75 6e 63 74 69 6f 6e 2e |ponent f|unction.|
|00004c50| 20 54 68 65 73 65 20 6f | 70 65 72 61 74 69 6f 6e | These o|peration|
|00004c60| 73 20 61 72 65 20 64 65 | 73 63 72 69 62 65 64 20 |s are de|scribed |
|00004c70| 69 6e 20 74 68 65 20 6e | 65 78 74 20 74 77 6f 20 |in the n|ext two |
|00004c80| 73 65 63 74 69 6f 6e 73 | 2e 0d 46 69 6e 64 69 6e |sections|..Findin|
|00004c90| 67 20 61 20 53 70 65 63 | 69 66 69 63 20 43 6f 6d |g a Spec|ific Com|
|00004ca0| 70 6f 6e 65 6e 74 0d 0d | 49 66 20 79 6f 75 20 61 |ponent..|If you a|
|00004cb0| 72 65 20 69 6e 74 65 72 | 65 73 74 65 64 20 69 6e |re inter|ested in|
|00004cc0| 20 61 73 73 65 72 74 69 | 6e 67 20 67 72 65 61 74 | asserti|ng great|
|00004cd0| 65 72 20 63 6f 6e 74 72 | 6f 6c 20 6f 76 65 72 20 |er contr|ol over |
|00004ce0| 74 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 20 6f 66 |the sele|ction of|
|00004cf0| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 2c 20 79 6f | a compo|nent, yo|
|00004d00| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 43 6f |u can us|e the Co|
|00004d10| 6d 70 6f 6e 65 6e 74 20 | 4d 61 6e 61 67 65 72 20 |mponent |Manager |
|00004d20| 74 6f 20 66 69 6e 64 20 | 61 20 63 6f 6d 70 6f 6e |to find |a compon|
|00004d30| 65 6e 74 20 74 68 61 74 | 20 70 72 6f 76 69 64 65 |ent that| provide|
|00004d40| 73 20 61 20 73 70 65 63 | 69 66 69 65 64 20 73 65 |s a spec|ified se|
|00004d50| 72 76 69 63 65 2e 20 46 | 6f 72 20 65 78 61 6d 70 |rvice. F|or examp|
|00004d60| 6c 65 2c 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |le, you |can use |
|00004d70| 74 68 65 20 46 69 6e 64 | 4e 65 78 74 43 6f 6d 70 |the Find|NextComp|
|00004d80| 6f 6e 65 6e 74 20 66 75 | 6e 63 74 69 6f 6e 20 69 |onent fu|nction i|
|00004d90| 6e 20 61 20 6c 6f 6f 70 | 20 74 6f 20 72 65 74 72 |n a loop| to retr|
|00004da0| 69 65 76 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ieve inf|ormation|
|00004db0| 20 61 62 6f 75 74 20 61 | 6c 6c 20 74 68 65 20 63 | about a|ll the c|
|00004dc0| 6f 6d 70 6f 6e 65 6e 74 | 73 20 74 68 61 74 20 61 |omponent|s that a|
|00004dd0| 72 65 20 72 65 67 69 73 | 74 65 72 65 64 20 6f 6e |re regis|tered on|
|00004de0| 20 61 20 67 69 76 65 6e | 20 63 6f 6d 70 75 74 65 | a given| compute|
|00004df0| 72 2e 20 45 61 63 68 20 | 74 69 6d 65 20 79 6f 75 |r. Each |time you|
|00004e00| 20 63 61 6c 6c 20 74 68 | 69 73 20 66 75 6e 63 74 | call th|is funct|
|00004e10| 69 6f 6e 2c 20 74 68 65 | 20 43 6f 6d 70 6f 6e 65 |ion, the| Compone|
|00004e20| 6e 74 20 4d 61 6e 61 67 | 65 72 20 72 65 74 75 72 |nt Manag|er retur|
|00004e30| 6e 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ns infor|mation a|
|00004e40| 62 6f 75 74 20 61 20 73 | 69 6e 67 6c 65 20 63 6f |bout a s|ingle co|
|00004e50| 6d 70 6f 6e 65 6e 74 2e | 20 59 6f 75 20 63 61 6e |mponent.| You can|
|00004e60| 20 6f 62 74 61 69 6e 20 | 61 20 63 6f 75 6e 74 20 | obtain |a count |
|00004e70| 6f 66 20 61 6c 6c 20 74 | 68 65 20 63 6f 6d 70 6f |of all t|he compo|
|00004e80| 6e 65 6e 74 73 20 6f 6e | 20 61 20 67 69 76 65 6e |nents on| a given|
|00004e90| 20 63 6f 6d 70 75 74 65 | 72 20 62 79 20 63 61 6c | compute|r by cal|
|00004ea0| 6c 69 6e 67 20 74 68 65 | 20 43 6f 75 6e 74 43 6f |ling the| CountCo|
|00004eb0| 6d 70 6f 6e 65 6e 74 73 | 20 66 75 6e 63 74 69 6f |mponents| functio|
|00004ec0| 6e 2e 20 42 6f 74 68 20 | 6f 66 20 74 68 65 73 65 |n. Both |of these|
|00004ed0| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 6c 6c 6f 77 | functio|ns allow|
|00004ee0| 20 79 6f 75 20 74 6f 20 | 73 70 65 63 69 66 79 20 | you to |specify |
|00004ef0| 73 65 61 72 63 68 20 63 | 72 69 74 65 72 69 61 2c |search c|riteria,|
|00004f00| 20 66 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 62 79 | for exa|mple, by|
|00004f10| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 74 79 70 65 20 | compone|nt type |
|00004f20| 61 6e 64 20 73 75 62 74 | 79 70 65 2c 20 6f 72 20 |and subt|ype, or |
|00004f30| 62 79 20 6d 61 6e 75 66 | 61 63 74 75 72 65 72 2e |by manuf|acturer.|
|00004f40| 20 42 79 20 75 73 69 6e | 67 20 74 68 65 73 65 20 | By usin|g these |
|00004f50| 63 72 69 74 65 72 69 61 | 20 74 6f 20 6e 61 72 72 |criteria| to narr|
|00004f60| 6f 77 20 79 6f 75 72 20 | 73 65 61 72 63 68 2c 20 |ow your |search, |
|00004f70| 79 6f 75 20 63 61 6e 20 | 71 75 69 63 6b 6c 79 20 |you can |quickly |
|00004f80| 61 6e 64 20 65 61 73 69 | 6c 79 20 66 69 6e 64 20 |and easi|ly find |
|00004f90| 61 20 63 6f 6d 70 6f 6e | 65 6e 74 20 74 68 61 74 |a compon|ent that|
|00004fa0| 20 6d 65 65 74 73 20 79 | 6f 75 72 20 6e 65 65 64 | meets y|our need|
|00004fb0| 73 2e 0d 59 6f 75 20 73 | 70 65 63 69 66 79 20 74 |s..You s|pecify t|
|00004fc0| 68 65 20 73 65 61 72 63 | 68 20 63 72 69 74 65 72 |he searc|h criter|
|00004fd0| 69 61 20 66 6f 72 20 74 | 68 65 20 63 6f 6d 70 6f |ia for t|he compo|
|00004fe0| 6e 65 6e 74 20 75 73 69 | 6e 67 20 61 20 63 6f 6d |nent usi|ng a com|
|00004ff0| 70 6f 6e 65 6e 74 20 64 | 65 73 63 72 69 70 74 69 |ponent d|escripti|
|00005000| 6f 6e 20 72 65 63 6f 72 | 64 2e 20 41 20 63 6f 6d |on recor|d. A com|
|00005010| 70 6f 6e 65 6e 74 20 64 | 65 73 63 72 69 70 74 69 |ponent d|escripti|
|00005020| 6f 6e 20 72 65 63 6f 72 | 64 20 69 73 20 64 65 66 |on recor|d is def|
|00005030| 69 6e 65 64 20 62 79 20 | 74 68 65 20 43 6f 6d 70 |ined by |the Comp|
|00005040| 6f 6e 65 6e 74 44 65 73 | 63 72 69 70 74 69 6f 6e |onentDes|cription|
|00005050| 20 64 61 74 61 20 74 79 | 70 65 2e 20 46 6f 72 20 | data ty|pe. For |
|00005060| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00005070| 20 6f 6e 20 74 68 65 20 | 66 69 65 6c 64 73 20 6f | on the |fields o|
|00005080| 66 20 74 68 69 73 20 72 | 65 63 6f 72 64 2c 20 73 |f this r|ecord, s|
|00005090| 65 65 20 d2 54 68 65 20 | 43 6f 6d 70 6f 6e 65 6e |ee .The |Componen|
|000050a0| 74 20 44 65 73 63 72 69 | 70 74 69 6f 6e 20 52 65 |t Descri|ption Re|
|000050b0| 63 6f 72 64 d3 20 62 65 | 67 69 6e 6e 69 6e 67 20 |cord. be|ginning |
|000050c0| 6f 6e 20 70 61 67 65 20 | 33 36 2e 0d 54 59 50 45 |on page |36..TYPE|
|000050d0| 09 09 0d 09 20 43 6f 6d | 70 6f 6e 65 6e 74 44 65 |.... Com|ponentDe|
|000050e0| 73 63 72 69 70 74 69 6f | 6e 20 3d 20 0d 09 09 52 |scriptio|n = ...R|
|000050f0| 45 43 4f 52 44 0d 09 09 | 09 63 6f 6d 70 6f 6e 65 |ECORD...|.compone|
|00005100| 6e 74 54 79 70 65 3a 09 | 09 09 09 09 20 09 09 09 |ntType:.|.... ...|
|00005110| 4f 53 54 79 70 65 3b 09 | 09 09 09 7b 74 79 70 65 |OSType;.|...{type|
|00005120| 7d 0d 09 09 09 63 6f 6d | 70 6f 6e 65 6e 74 53 75 |}....com|ponentSu|
|00005130| 62 54 79 70 65 3a 09 09 | 09 09 09 09 20 09 09 4f |bType:..|.... ..O|
|00005140| 53 54 79 70 65 3b 09 09 | 09 09 7b 73 75 62 74 79 |SType;..|..{subty|
|00005150| 70 65 7d 0d 09 09 09 63 | 6f 6d 70 6f 6e 65 6e 74 |pe}....c|omponent|
|00005160| 4d 61 6e 75 66 61 63 74 | 75 72 65 72 3a 09 09 09 |Manufact|urer:...|
|00005170| 09 09 09 09 09 4f 53 54 | 79 70 65 3b 09 09 09 09 |.....OST|ype;....|
|00005180| 7b 6d 61 6e 75 66 61 63 | 74 75 72 65 72 7d 0d 09 |{manufac|turer}..|
|00005190| 09 09 63 6f 6d 70 6f 6e | 65 6e 74 46 6c 61 67 73 |..compon|entFlags|
|000051a0| 3a 09 09 09 09 09 09 20 | 09 09 4c 6f 6e 67 49 6e |:...... |..LongIn|
|000051b0| 74 3b 09 09 09 09 7b 63 | 6f 6e 74 72 6f 6c 20 66 |t;....{c|ontrol f|
|000051c0| 6c 61 67 73 7d 0d 09 09 | 09 63 6f 6d 70 6f 6e 65 |lags}...|.compone|
|000051d0| 6e 74 46 6c 61 67 73 4d | 61 73 6b 3a 09 09 09 09 |ntFlagsM|ask:....|
|000051e0| 09 09 09 09 4c 6f 6e 67 | 49 6e 74 3b 09 09 09 09 |....Long|Int;....|
|000051f0| 7b 6d 61 73 6b 20 66 6f | 72 20 66 6c 61 67 73 7d |{mask fo|r flags}|
|00005200| 0d 09 09 45 4e 44 3b 0d | 42 79 20 64 65 66 61 75 |...END;.|By defau|
|00005210| 6c 74 2c 20 74 68 65 20 | 43 6f 6d 70 6f 6e 65 6e |lt, the |Componen|
|00005220| 74 20 4d 61 6e 61 67 65 | 72 20 63 6f 6e 73 69 64 |t Manage|r consid|
|00005230| 65 72 73 20 61 6c 6c 20 | 66 69 65 6c 64 73 20 6f |ers all |fields o|
|00005240| 66 20 74 68 65 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |f the co|mponent |
|00005250| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 72 65 63 6f |descript|ion reco|
|00005260| 72 64 20 77 68 65 6e 20 | 70 65 72 66 6f 72 6d 69 |rd when |performi|
|00005270| 6e 67 20 61 20 73 65 61 | 72 63 68 2e 20 59 6f 75 |ng a sea|rch. You|
|00005280| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 63 61 |r applic|ation ca|
|00005290| 6e 20 6f 76 65 72 72 69 | 64 65 20 74 68 65 20 64 |n overri|de the d|
|000052a0| 65 66 61 75 6c 74 20 62 | 65 68 61 76 69 6f 72 20 |efault b|ehavior |
|000052b0| 6f 66 20 77 68 69 63 68 | 20 66 69 65 6c 64 73 20 |of which| fields |
|000052c0| 74 68 65 20 43 6f 6d 70 | 6f 6e 65 6e 74 20 4d 61 |the Comp|onent Ma|
|000052d0| 6e 61 67 65 72 20 63 6f | 6e 73 69 64 65 72 73 20 |nager co|nsiders |
|000052e0| 66 6f 72 20 61 20 73 65 | 61 72 63 68 2e 20 53 70 |for a se|arch. Sp|
|000052f0| 65 63 69 66 79 20 30 20 | 69 6e 20 61 6e 79 20 66 |ecify 0 |in any f|
|00005300| 69 65 6c 64 20 6f 66 20 | 74 68 65 20 63 6f 6d 70 |ield of |the comp|
|00005310| 6f 6e 65 6e 74 20 64 65 | 73 63 72 69 70 74 69 6f |onent de|scriptio|
|00005320| 6e 20 72 65 63 6f 72 64 | 20 74 6f 20 70 72 65 76 |n record| to prev|
|00005330| 65 6e 74 20 74 68 65 20 | 43 6f 6d 70 6f 6e 65 6e |ent the |Componen|
|00005340| 74 20 4d 61 6e 61 67 65 | 72 20 66 72 6f 6d 20 63 |t Manage|r from c|
|00005350| 6f 6e 73 69 64 65 72 69 | 6e 67 20 74 68 65 20 69 |onsideri|ng the i|
|00005360| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 6e 20 74 68 |nformati|on in th|
|00005370| 61 74 20 66 69 65 6c 64 | 20 77 68 65 6e 20 70 65 |at field| when pe|
|00005380| 72 66 6f 72 6d 69 6e 67 | 20 74 68 65 20 73 65 61 |rforming| the sea|
|00005390| 72 63 68 2e 0d 4c 69 73 | 74 69 6e 67 20 31 2d 31 |rch..Lis|ting 1-1|
|000053a0| 20 73 68 6f 77 73 20 61 | 6e 20 61 70 70 6c 69 63 | shows a|n applic|
|000053b0| 61 74 69 6f 6e 2d 64 65 | 66 69 6e 65 64 20 70 72 |ation-de|fined pr|
|000053c0| 6f 63 65 64 75 72 65 2c | 20 4d 79 46 69 6e 64 56 |ocedure,| MyFindV|
|000053d0| 69 64 65 6f 43 6f 6d 70 | 6f 6e 65 6e 74 2c 20 74 |ideoComp|onent, t|
|000053e0| 68 61 74 20 66 69 6c 6c | 73 20 6f 75 74 20 61 20 |hat fill|s out a |
|000053f0| 63 6f 6d 70 6f 6e 65 6e | 74 20 64 65 73 63 72 69 |componen|t descri|
|00005400| 70 74 69 6f 6e 20 72 65 | 63 6f 72 64 20 74 6f 20 |ption re|cord to |
|00005410| 73 70 65 63 69 66 79 20 | 74 68 65 20 73 65 61 72 |specify |the sear|
|00005420| 63 68 20 63 72 69 74 65 | 72 69 61 20 66 6f 72 20 |ch crite|ria for |
|00005430| 74 68 65 20 64 65 73 69 | 72 65 64 20 63 6f 6d 70 |the desi|red comp|
|00005440| 6f 6e 65 6e 74 2e 20 54 | 68 65 20 4d 79 46 69 6e |onent. T|he MyFin|
|00005450| 64 56 69 64 65 6f 43 6f | 6d 70 6f 6e 65 6e 74 20 |dVideoCo|mponent |
|00005460| 70 72 6f 63 65 64 75 72 | 65 20 74 68 65 6e 20 75 |procedur|e then u|
|00005470| 73 65 73 20 74 68 65 20 | 46 69 6e 64 4e 65 78 74 |ses the |FindNext|
|00005480| 43 6f 6d 70 6f 6e 65 6e | 74 20 66 75 6e 63 74 69 |Componen|t functi|
|00005490| 6f 6e 20 74 6f 20 72 65 | 74 75 72 6e 20 74 68 65 |on to re|turn the|
|000054a0| 20 66 69 72 73 74 20 63 | 6f 6d 70 6f 6e 65 6e 74 | first c|omponent|
|000054b0| 20 77 69 74 68 20 74 68 | 65 20 73 70 65 63 69 66 | with th|e specif|
|000054c0| 69 65 64 20 63 68 61 72 | 61 63 74 65 72 69 73 74 |ied char|acterist|
|000054d0| 69 63 73 d1 69 6e 20 74 | 68 69 73 20 65 78 61 6d |ics.in t|his exam|
|000054e0| 70 6c 65 2c 20 61 6e 79 | 20 63 6f 6d 70 6f 6e 65 |ple, any| compone|
|000054f0| 6e 74 20 77 69 74 68 20 | 74 68 65 20 74 79 70 65 |nt with |the type|
|00005500| 20 56 69 64 65 6f 44 69 | 67 69 74 69 7a 65 72 43 | VideoDi|gitizerC|
|00005510| 6f 6d 70 6f 6e 65 6e 74 | 54 79 70 65 2e 20 0d 4c |omponent|Type. .L|
|00005520| 69 73 74 69 6e 67 20 31 | 2d 31 09 46 69 6e 64 69 |isting 1|-1.Findi|
|00005530| 6e 67 20 61 20 63 6f 6d | 70 6f 6e 65 6e 74 0d 0d |ng a com|ponent..|
|00005540| 50 52 4f 43 45 44 55 52 | 45 20 4d 79 46 69 6e 64 |PROCEDUR|E MyFind|
|00005550| 56 69 64 65 6f 43 6f 6d | 70 6f 6e 65 6e 74 28 56 |VideoCom|ponent(V|
|00005560| 41 52 20 76 69 64 65 6f | 43 6f 6d 70 49 44 3a 20 |AR video|CompID: |
|00005570| 43 6f 6d 70 6f 6e 65 6e | 74 29 3b 0d 56 41 52 20 |Componen|t);.VAR |
|00005580| 0d 09 76 69 64 65 6f 44 | 65 73 63 3a 20 43 6f 6d |..videoD|esc: Com|
|00005590| 70 6f 6e 65 6e 74 44 65 | 73 63 72 69 70 74 69 6f |ponentDe|scriptio|
|000055a0| 6e 3b 0d 42 45 47 49 4e | 0d 09 7b 66 69 6e 64 20 |n;.BEGIN|..{find |
|000055b0| 61 20 76 69 64 65 6f 20 | 64 69 67 69 74 69 7a 65 |a video |digitize|
|000055c0| 72 20 63 6f 6d 70 6f 6e | 65 6e 74 7d 09 20 20 09 |r compon|ent}. .|
|000055d0| 0d 09 76 69 64 65 6f 44 | 65 73 63 2e 63 6f 6d 70 |..videoD|esc.comp|
|000055e0| 6f 6e 65 6e 74 54 79 70 | 65 20 3a 3d 20 56 69 64 |onentTyp|e := Vid|
|000055f0| 65 6f 44 69 67 69 74 69 | 7a 65 72 43 6f 6d 70 6f |eoDigiti|zerCompo|
|00005600| 6e 65 6e 74 54 79 70 65 | 3b 0d 09 76 69 64 65 6f |nentType|;..video|
|00005610| 44 65 73 63 2e 63 6f 6d | 70 6f 6e 65 6e 74 53 75 |Desc.com|ponentSu|
|00005620| 62 54 79 70 65 20 3a 3d | 20 4f 53 54 79 70 65 28 |bType :=| OSType(|
|00005630| 30 29 3b 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |0);.....|........|
|00005640| 09 09 7b 61 6e 79 20 73 | 75 62 74 79 70 65 7d 0d |..{any s|ubtype}.|
|00005650| 09 76 69 64 65 6f 44 65 | 73 63 2e 63 6f 6d 70 6f |.videoDe|sc.compo|
|00005660| 6e 65 6e 74 4d 61 6e 75 | 66 61 63 74 75 72 65 72 |nentManu|facturer|
|00005670| 09 3a 3d 20 4f 53 54 79 | 70 65 28 30 29 3b 09 09 |.:= OSTy|pe(0);..|
|00005680| 09 09 09 09 09 09 09 09 | 09 09 09 7b 61 6e 79 20 |........|...{any |
|00005690| 6d 61 6e 75 66 61 63 74 | 75 72 65 72 7d 09 09 0d |manufact|urer}...|
|000056a0| 09 76 69 64 65 6f 44 65 | 73 63 2e 63 6f 6d 70 6f |.videoDe|sc.compo|
|000056b0| 6e 65 6e 74 46 6c 61 67 | 73 20 3a 3d 20 30 3b 09 |nentFlag|s := 0;.|
|000056c0| 09 09 09 09 09 09 09 09 | 09 09 09 09 0d 09 76 69 |........|......vi|
|000056d0| 64 65 6f 44 65 73 63 2e | 63 6f 6d 70 6f 6e 65 6e |deoDesc.|componen|
|000056e0| 74 46 6c 61 67 73 4d 61 | 73 6b 20 3a 3d 20 30 3b |tFlagsMa|sk := 0;|
|000056f0| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 0d 09 |........|........|
|00005700| 76 69 64 65 6f 43 6f 6d | 70 49 44 20 3a 3d 20 46 |videoCom|pID := F|
|00005710| 69 6e 64 4e 65 78 74 43 | 6f 6d 70 6f 6e 65 6e 74 |indNextC|omponent|
|00005720| 28 43 6f 6d 70 6f 6e 65 | 6e 74 28 30 29 2c 20 76 |(Compone|nt(0), v|
|00005730| 69 64 65 6f 44 65 73 63 | 29 3b 20 09 20 09 09 0d |ideoDesc|); . ...|
|00005740| 45 4e 44 3b 0d 54 68 65 | 20 46 69 6e 64 4e 65 78 |END;.The| FindNex|
|00005750| 74 43 6f 6d 70 6f 6e 65 | 6e 74 20 66 75 6e 63 74 |tCompone|nt funct|
|00005760| 69 6f 6e 20 72 65 71 75 | 69 72 65 73 20 74 77 6f |ion requ|ires two|
|00005770| 20 70 61 72 61 6d 65 74 | 65 72 73 3a 20 61 20 76 | paramet|ers: a v|
|00005780| 61 6c 75 65 20 74 68 61 | 74 20 69 6e 64 69 63 61 |alue tha|t indica|
|00005790| 74 65 73 20 77 68 69 63 | 68 20 63 6f 6d 70 6f 6e |tes whic|h compon|
|000057a0| 65 6e 74 20 74 6f 20 62 | 65 67 69 6e 20 74 68 65 |ent to b|egin the|
|000057b0| 20 73 65 61 72 63 68 20 | 77 69 74 68 20 61 6e 64 | search |with and|
|000057c0| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 20 64 65 73 | a compo|nent des|
|000057d0| 63 72 69 70 74 69 6f 6e | 20 72 65 63 6f 72 64 2e |cription| record.|
|000057e0| 20 59 6f 75 20 63 61 6e | 20 73 70 65 63 69 66 79 | You can| specify|
|000057f0| 20 30 20 69 6e 20 74 68 | 65 20 66 69 72 73 74 20 | 0 in th|e first |
|00005800| 70 61 72 61 6d 65 74 65 | 72 20 74 6f 20 73 74 61 |paramete|r to sta|
|00005810| 72 74 20 74 68 65 20 73 | 65 61 72 63 68 20 61 74 |rt the s|earch at|
|00005820| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00005830| 66 20 74 68 65 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |f the co|mponent |
|00005840| 6c 69 73 74 2e 20 41 6c | 74 65 72 6e 61 74 69 76 |list. Al|ternativ|
|00005850| 65 6c 79 2c 20 79 6f 75 | 20 63 61 6e 20 73 70 65 |ely, you| can spe|
|00005860| 63 69 66 79 20 61 20 63 | 6f 6d 70 6f 6e 65 6e 74 |cify a c|omponent|
|00005870| 20 69 64 65 6e 74 69 66 | 69 65 72 20 6f 62 74 61 | identif|ier obta|
|00005880| 69 6e 65 64 20 66 72 6f | 6d 20 61 20 70 72 65 76 |ined fro|m a prev|
|00005890| 69 6f 75 73 20 63 61 6c | 6c 20 74 6f 20 46 69 6e |ious cal|l to Fin|
|000058a0| 64 4e 65 78 74 43 6f 6d | 70 6f 6e 65 6e 74 2e 0d |dNextCom|ponent..|
|000058b0| 54 68 65 20 46 69 6e 64 | 4e 65 78 74 43 6f 6d 70 |The Find|NextComp|
|000058c0| 6f 6e 65 6e 74 20 66 75 | 6e 63 74 69 6f 6e 20 72 |onent fu|nction r|
|000058d0| 65 74 75 72 6e 73 20 61 | 20 63 6f 6d 70 6f 6e 65 |eturns a| compone|
|000058e0| 6e 74 20 69 64 65 6e 74 | 69 66 69 65 72 20 74 6f |nt ident|ifier to|
|000058f0| 20 79 6f 75 72 20 0d 61 | 70 70 6c 69 63 61 74 69 | your .a|pplicati|
|00005900| 6f 6e 2e 20 54 68 65 20 | 72 65 74 75 72 6e 65 64 |on. The |returned|
|00005910| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 69 64 65 6e 74 | compone|nt ident|
|00005920| 69 66 69 65 72 20 69 64 | 65 6e 74 69 66 69 65 73 |ifier id|entifies|
|00005930| 20 61 20 67 69 76 65 6e | 20 63 6f 6d 70 6f 6e 65 | a given| compone|
|00005940| 6e 74 20 74 6f 20 74 68 | 65 20 43 6f 6d 70 6f 6e |nt to th|e Compon|
|00005950| 65 6e 74 20 4d 61 6e 61 | 67 65 72 2e 20 59 6f 75 |ent Mana|ger. You|
|00005960| 20 63 61 6e 20 75 73 65 | 20 74 68 69 73 20 69 64 | can use| this id|
|00005970| 65 6e 74 69 66 69 65 72 | 20 74 6f 20 72 65 74 72 |entifier| to retr|
|00005980| 69 65 76 65 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d |ieve mor|e inform|
|00005990| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 74 68 65 20 |ation ab|out the |
|000059a0| 63 6f 6d 70 6f 6e 65 6e | 74 20 6f 72 20 74 6f 20 |componen|t or to |
|000059b0| 6f 70 65 6e 20 61 20 63 | 6f 6e 6e 65 63 74 69 6f |open a c|onnectio|
|000059c0| 6e 20 74 6f 20 74 68 65 | 20 63 6f 6d 70 6f 6e 65 |n to the| compone|
|000059d0| 6e 74 2e 20 54 68 65 20 | 6e 65 78 74 20 74 77 6f |nt. The |next two|
|000059e0| 20 73 65 63 74 69 6f 6e | 73 20 64 65 73 63 72 69 | section|s descri|
|000059f0| 62 65 20 74 68 65 73 65 | 20 74 61 73 6b 73 2e 0d |be these| tasks..|
|00005a00| 4f 70 65 6e 69 6e 67 20 | 61 20 43 6f 6e 6e 65 63 |Opening |a Connec|
|00005a10| 74 69 6f 6e 20 74 6f 20 | 61 20 53 70 65 63 69 66 |tion to |a Specif|
|00005a20| 69 63 20 43 6f 6d 70 6f | 6e 65 6e 74 0d 0d 59 6f |ic Compo|nent..Yo|
|00005a30| 75 20 63 61 6e 20 6f 70 | 65 6e 20 61 20 63 6f 6e |u can op|en a con|
|00005a40| 6e 65 63 74 69 6f 6e 20 | 74 6f 20 61 20 73 70 65 |nection |to a spe|
|00005a50| 63 69 66 69 63 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |cific co|mponent |
|00005a60| 62 79 20 63 61 6c 6c 69 | 6e 67 20 74 68 65 20 4f |by calli|ng the O|
|00005a70| 70 65 6e 43 6f 6d 70 6f | 6e 65 6e 74 20 66 75 6e |penCompo|nent fun|
|00005a80| 63 74 69 6f 6e 20 28 61 | 6c 74 65 72 6e 61 74 69 |ction (a|lternati|
|00005a90| 76 65 6c 79 2c 20 79 6f | 75 20 63 61 6e 20 75 73 |vely, yo|u can us|
|00005aa0| 65 20 74 68 65 20 4f 70 | 65 6e 44 65 66 61 75 6c |e the Op|enDefaul|
|00005ab0| 74 43 6f 6d 70 6f 6e 65 | 6e 74 20 66 75 6e 63 74 |tCompone|nt funct|
|00005ac0| 69 6f 6e 2c 20 61 73 20 | 64 69 73 63 75 73 73 65 |ion, as |discusse|
|00005ad0| 64 20 69 6e 20 d2 4f 70 | 65 6e 69 6e 67 20 61 20 |d in .Op|ening a |
|00005ae0| 43 6f 6e 6e 65 63 74 69 | 6f 6e 20 74 6f 20 61 20 |Connecti|on to a |
|00005af0| 44 65 66 61 75 6c 74 20 | 43 6f 6d 70 6f 6e 65 6e |Default |Componen|
|00005b00| 74 d3 20 6f 6e 20 70 61 | 67 65 20 36 29 2e 20 59 |t. on pa|ge 6). Y|
|00005b10| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00005b20| 6d 75 73 74 20 70 72 6f | 76 69 64 65 20 61 20 63 |must pro|vide a c|
|00005b30| 6f 6d 70 6f 6e 65 6e 74 | 20 69 64 65 6e 74 69 66 |omponent| identif|
|00005b40| 69 65 72 20 74 6f 20 74 | 68 65 20 4f 70 65 6e 43 |ier to t|he OpenC|
|00005b50| 6f 6d 70 6f 6e 65 6e 74 | 20 66 75 6e 63 74 69 6f |omponent| functio|
|00005b60| 6e 2e 20 59 6f 75 20 67 | 65 74 20 61 20 63 6f 6d |n. You g|et a com|
|00005b70| 70 6f 6e 65 6e 74 20 69 | 64 65 6e 74 69 66 69 65 |ponent i|dentifie|
|00005b80| 72 20 66 72 6f 6d 20 74 | 68 65 20 46 69 6e 64 4e |r from t|he FindN|
|00005b90| 65 78 74 43 6f 6d 70 6f | 6e 65 6e 74 20 66 75 6e |extCompo|nent fun|
|00005ba0| 63 74 69 6f 6e 2c 20 61 | 73 20 64 65 73 63 72 69 |ction, a|s descri|
|00005bb0| 62 65 64 20 69 6e 20 74 | 68 65 20 70 72 65 76 69 |bed in t|he previ|
|00005bc0| 6f 75 73 20 73 65 63 74 | 69 6f 6e 2e 20 0d 54 68 |ous sect|ion. .Th|
|00005bd0| 65 20 4f 70 65 6e 43 6f | 6d 70 6f 6e 65 6e 74 20 |e OpenCo|mponent |
|00005be0| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|00005bf0| 20 61 20 63 6f 6d 70 6f | 6e 65 6e 74 20 69 6e 73 | a compo|nent ins|
|00005c00| 74 61 6e 63 65 20 74 68 | 61 74 20 69 64 65 6e 74 |tance th|at ident|
|00005c10| 69 66 69 65 73 20 79 6f | 75 72 20 63 6f 6e 6e 65 |ifies yo|ur conne|
|00005c20| 63 74 69 6f 6e 20 74 6f | 20 74 68 65 20 63 6f 6d |ction to| the com|
|00005c30| 70 6f 6e 65 6e 74 2e 20 | 4c 69 73 74 69 6e 67 20 |ponent. |Listing |
|00005c40| 31 2d 32 20 73 68 6f 77 | 73 20 68 6f 77 20 74 6f |1-2 show|s how to|
|00005c50| 20 75 73 65 20 74 68 65 | 20 4f 70 65 6e 43 6f 6d | use the| OpenCom|
|00005c60| 70 6f 6e 65 6e 74 20 66 | 75 6e 63 74 69 6f 6e 20 |ponent f|unction |
|00005c70| 74 6f 20 67 61 69 6e 20 | 61 63 63 65 73 73 20 74 |to gain |access t|
|00005c80| 6f 20 61 20 73 70 65 63 | 69 66 69 63 20 63 6f 6d |o a spec|ific com|
|00005c90| 70 6f 6e 65 6e 74 2e 20 | 54 68 65 20 61 70 70 6c |ponent. |The appl|
|00005ca0| 69 63 61 74 69 6f 6e 2d | 64 65 66 69 6e 65 64 20 |ication-|defined |
|00005cb0| 70 72 6f 63 65 64 75 72 | 65 20 4d 79 47 65 74 43 |procedur|e MyGetC|
|00005cc0| 6f 6d 70 6f 6e 65 6e 74 | 20 75 73 65 73 20 74 68 |omponent| uses th|
|00005cd0| 65 20 4d 79 46 69 6e 64 | 56 69 64 65 6f 43 6f 6d |e MyFind|VideoCom|
|00005ce0| 70 6f 6e 65 6e 74 20 70 | 72 6f 63 65 64 75 72 65 |ponent p|rocedure|
|00005cf0| 20 28 64 65 66 69 6e 65 | 64 20 69 6e 20 0d 4c 69 | (define|d in .Li|
|00005d00| 73 74 69 6e 67 20 31 2d | 31 29 20 74 6f 20 66 69 |sting 1-|1) to fi|
|00005d10| 6e 64 20 61 20 76 69 64 | 65 6f 20 64 69 67 69 74 |nd a vid|eo digit|
|00005d20| 69 7a 65 72 20 63 6f 6d | 70 6f 6e 65 6e 74 20 61 |izer com|ponent a|
|00005d30| 6e 64 20 74 68 65 6e 20 | 6f 70 65 6e 73 20 74 68 |nd then |opens th|
|00005d40| 65 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 0d 4c 69 73 |e compon|ent..Lis|
|00005d50| 74 69 6e 67 20 31 2d 32 | 09 4f 70 65 6e 69 6e 67 |ting 1-2|.Opening|
|00005d60| 20 61 20 73 70 65 63 69 | 66 69 63 20 63 6f 6d 70 | a speci|fic comp|
|00005d70| 6f 6e 65 6e 74 0d 0d 50 | 52 4f 43 45 44 55 52 45 |onent..P|ROCEDURE|
|00005d80| 20 4d 79 47 65 74 43 6f | 6d 70 6f 6e 65 6e 74 0d | MyGetCo|mponent.|
|00005d90| 09 09 09 09 09 09 09 28 | 56 41 52 20 76 69 64 65 |.......(|VAR vide|
|00005da0| 6f 43 6f 6d 70 49 6e 73 | 74 61 6e 63 65 3a 20 43 |oCompIns|tance: C|
|00005db0| 6f 6d 70 6f 6e 65 6e 74 | 49 6e 73 74 61 6e 63 65 |omponent|Instance|
|00005dc0| 29 3b 0d 56 41 52 0d 09 | 76 69 64 65 6f 43 6f 6d |);.VAR..|videoCom|
|00005dd0| 70 49 44 09 3a 09 09 09 | 09 09 09 43 6f 6d 70 6f |pID.:...|...Compo|
|00005de0| 6e 65 6e 74 3b 0d 42 45 | 47 49 4e 0d 09 7b 66 69 |nent;.BE|GIN..{fi|
|00005df0| 72 73 74 20 66 69 6e 64 | 20 61 20 76 69 64 65 6f |rst find| a video|
|00005e00| 20 64 69 67 69 74 69 7a | 65 72 20 63 6f 6d 70 6f | digitiz|er compo|
|00005e10| 6e 65 6e 74 7d 09 20 20 | 09 0d 09 4d 79 46 69 6e |nent}. |...MyFin|
|00005e20| 64 56 69 64 65 6f 43 6f | 6d 70 6f 6e 65 6e 74 28 |dVideoCo|mponent(|
|00005e30| 76 69 64 65 6f 43 6f 6d | 70 49 44 29 3b 0d 09 7b |videoCom|pID);..{|
|00005e40| 6e 6f 77 20 6f 70 65 6e | 20 69 74 7d 0d 09 49 46 |now open| it}..IF|
|00005e50| 20 76 69 64 65 6f 43 6f | 6d 70 49 44 20 3c 3e 20 | videoCo|mpID <> |
|00005e60| 4e 49 4c 20 54 48 45 4e | 0d 09 09 76 69 64 65 6f |NIL THEN|...video|
|00005e70| 43 6f 6d 70 49 6e 73 74 | 61 6e 63 65 20 3a 3d 20 |CompInst|ance := |
|00005e80| 4f 70 65 6e 43 6f 6d 70 | 6f 6e 65 6e 74 28 76 69 |OpenComp|onent(vi|
|00005e90| 64 65 6f 43 6f 6d 70 49 | 44 29 3b 0d 45 4e 44 3b |deoCompI|D);.END;|
|00005ea0| 0d 47 65 74 74 69 6e 67 | 20 49 6e 66 6f 72 6d 61 |.Getting| Informa|
|00005eb0| 74 69 6f 6e 20 41 62 6f | 75 74 20 61 20 43 6f 6d |tion Abo|ut a Com|
|00005ec0| 70 6f 6e 65 6e 74 0d 0d | 59 6f 75 20 63 61 6e 20 |ponent..|You can |
|00005ed0| 75 73 65 20 74 68 65 20 | 47 65 74 43 6f 6d 70 6f |use the |GetCompo|
|00005ee0| 6e 65 6e 74 49 6e 66 6f | 20 66 75 6e 63 74 69 6f |nentInfo| functio|
|00005ef0| 6e 20 74 6f 20 72 65 74 | 72 69 65 76 65 20 69 6e |n to ret|rieve in|
|00005f00| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00005f10| 61 20 63 6f 6d 70 6f 6e | 65 6e 74 2c 20 69 6e 63 |a compon|ent, inc|
|00005f20| 6c 75 64 69 6e 67 20 74 | 68 65 20 63 6f 6d 70 6f |luding t|he compo|
|00005f30| 6e 65 6e 74 20 6e 61 6d | 65 2c 20 69 63 6f 6e 2c |nent nam|e, icon,|
|00005f40| 20 61 6e 64 20 6f 74 68 | 65 72 20 69 6e 66 6f 72 | and oth|er infor|
|00005f50| 6d 61 74 69 6f 6e 2e 20 | 4c 69 73 74 69 6e 67 20 |mation. |Listing |
|00005f60| 31 2d 33 20 73 68 6f 77 | 73 20 61 6e 20 61 70 70 |1-3 show|s an app|
|00005f70| 6c 69 63 61 74 69 6f 6e | 2d 64 65 66 69 6e 65 64 |lication|-defined|
|00005f80| 20 70 72 6f 63 65 64 75 | 72 65 20 74 68 61 74 20 | procedu|re that |
|00005f90| 72 65 74 72 69 65 76 65 | 73 20 69 6e 66 6f 72 6d |retrieve|s inform|
|00005fa0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 61 20 76 69 |ation ab|out a vi|
|00005fb0| 64 65 6f 20 64 69 67 69 | 74 69 7a 65 72 20 63 6f |deo digi|tizer co|
|00005fc0| 6d 70 6f 6e 65 6e 74 2e | 0d 4c 69 73 74 69 6e 67 |mponent.|.Listing|
|00005fd0| 20 31 2d 33 09 47 65 74 | 74 69 6e 67 20 69 6e 66 | 1-3.Get|ting inf|
|00005fe0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 61 |ormation| about a|
|00005ff0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 0d 0d 50 52 4f 43 | compone|nt..PROC|
|00006000| 45 44 55 52 45 20 4d 79 | 47 65 74 43 6f 6d 70 49 |EDURE My|GetCompI|
|00006010| 6e 66 6f 20 28 63 6f 6d | 70 4e 61 6d 65 2c 20 63 |nfo (com|pName, c|
|00006020| 6f 6d 70 49 6e 66 6f 2c | 20 63 6f 6d 70 49 63 6f |ompInfo,| compIco|
|00006030| 6e 3a 20 48 61 6e 64 6c | 65 3b 0d 09 09 09 09 09 |n: Handl|e;......|
|00006040| 09 09 09 20 56 41 52 20 | 76 69 64 65 6f 44 65 73 |... VAR |videoDes|
|00006050| 63 3a 20 43 6f 6d 70 6f | 6e 65 6e 74 44 65 73 63 |c: Compo|nentDesc|
|00006060| 72 69 70 74 69 6f 6e 29 | 3b 0d 56 41 52 0d 09 76 |ription)|;.VAR..v|
|00006070| 69 64 65 6f 43 6f 6d 70 | 49 44 3a 09 09 09 09 09 |ideoComp|ID:.....|
|00006080| 43 6f 6d 70 6f 6e 65 6e | 74 3b 0d 09 6d 79 45 72 |Componen|t;..myEr|
|00006090| 72 3a 20 09 09 09 09 09 | 4f 53 45 72 72 3b 0d 42 |r: .....|OSErr;.B|
|000060a0| 45 47 49 4e 0d 09 7b 66 | 69 72 73 74 20 66 69 6e |EGIN..{f|irst fin|
|000060b0| 64 20 61 20 76 69 64 65 | 6f 20 64 69 67 69 74 69 |d a vide|o digiti|
|000060c0| 7a 65 72 20 63 6f 6d 70 | 6f 6e 65 6e 74 7d 09 20 |zer comp|onent}. |
|000060d0| 20 09 0d 09 4d 79 46 69 | 6e 64 56 69 64 65 6f 43 | ...MyFi|ndVideoC|
|000060e0| 6f 6d 70 6f 6e 65 6e 74 | 28 76 69 64 65 6f 43 6f |omponent|(videoCo|
|000060f0| 6d 70 49 44 29 3b 0d 09 | 7b 6e 6f 77 20 67 65 74 |mpID);..|{now get|
|00006100| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 62 6f | informa|tion abo|
|00006110| 75 74 20 69 74 7d 0d 09 | 49 46 20 76 69 64 65 6f |ut it}..|IF video|
|00006120| 43 6f 6d 70 49 44 20 3c | 3e 20 4e 49 4c 20 54 48 |CompID <|> NIL TH|
|00006130| 45 4e 0d 09 09 6d 79 45 | 72 72 20 3a 3d 20 47 65 |EN...myE|rr := Ge|
|00006140| 74 43 6f 6d 70 6f 6e 65 | 6e 74 49 6e 66 6f 28 76 |tCompone|ntInfo(v|
|00006150| 69 64 65 6f 43 6f 6d 70 | 49 44 2c 20 76 69 64 65 |ideoComp|ID, vide|
|00006160| 6f 44 65 73 63 2c 20 63 | 6f 6d 70 4e 61 6d 65 2c |oDesc, c|ompName,|
|00006170| 0d 09 09 09 09 09 09 09 | 09 09 09 20 20 63 6f 6d |........|... com|
|00006180| 70 49 6e 66 6f 2c 20 63 | 6f 6d 70 49 63 6f 6e 29 |pInfo, c|ompIcon)|
|00006190| 3b 0d 45 4e 44 3b 0d 59 | 6f 75 20 73 70 65 63 69 |;.END;.Y|ou speci|
|000061a0| 66 79 20 74 68 65 20 63 | 6f 6d 70 6f 6e 65 6e 74 |fy the c|omponent|
|000061b0| 20 69 6e 20 74 68 65 20 | 66 69 72 73 74 20 70 61 | in the |first pa|
|000061c0| 72 61 6d 65 74 65 72 20 | 74 6f 20 47 65 74 43 6f |rameter |to GetCo|
|000061d0| 6d 70 6f 6e 65 6e 74 49 | 6e 66 6f 2e 20 59 6f 75 |mponentI|nfo. You|
|000061e0| 20 73 70 65 63 69 66 79 | 20 74 68 65 20 63 6f 6d | specify| the com|
|000061f0| 70 6f 6e 65 6e 74 20 75 | 73 69 6e 67 20 65 69 74 |ponent u|sing eit|
|00006200| 68 65 72 20 61 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |her a co|mponent |
|00006210| 69 64 65 6e 74 69 66 69 | 65 72 20 28 6f 62 74 61 |identifi|er (obta|
|00006220| 69 6e 65 64 20 66 72 6f | 6d 20 46 69 6e 64 4e 65 |ined fro|m FindNe|
|00006230| 78 74 43 6f 6d 70 6f 6e | 65 6e 74 20 6f 72 20 52 |xtCompon|ent or R|
|00006240| 65 67 69 73 74 65 72 43 | 6f 6d 70 6f 6e 65 6e 74 |egisterC|omponent|
|00006250| 29 20 6f 72 20 61 20 63 | 6f 6d 70 6f 6e 65 6e 74 |) or a c|omponent|
|00006260| 20 69 6e 73 74 61 6e 63 | 65 20 28 6f 62 74 61 69 | instanc|e (obtai|
|00006270| 6e 65 64 20 66 72 6f 6d | 20 4f 70 65 6e 44 65 66 |ned from| OpenDef|
|00006280| 61 75 6c 74 43 6f 6d 70 | 6f 6e 65 6e 74 20 6f 72 |aultComp|onent or|
|00006290| 20 4f 70 65 6e 43 6f 6d | 70 6f 6e 65 6e 74 29 2e | OpenCom|ponent).|
|000062a0| 0d 54 68 65 20 47 65 74 | 43 6f 6d 70 6f 6e 65 6e |.The Get|Componen|
|000062b0| 74 49 6e 66 6f 20 66 75 | 6e 63 74 69 6f 6e 20 72 |tInfo fu|nction r|
|000062c0| 65 74 75 72 6e 73 20 69 | 6e 66 6f 72 6d 61 74 69 |eturns i|nformati|
|000062d0| 6f 6e 20 61 62 6f 75 74 | 20 74 68 65 20 63 6f 6d |on about| the com|
|000062e0| 70 6f 6e 65 6e 74 20 69 | 6e 20 74 68 65 20 73 65 |ponent i|n the se|
|000062f0| 63 6f 6e 64 20 74 68 72 | 6f 75 67 68 20 66 69 66 |cond thr|ough fif|
|00006300| 74 68 20 70 61 72 61 6d | 65 74 65 72 73 20 6f 66 |th param|eters of|
|00006310| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 2e 20 54 | the fun|ction. T|
|00006320| 68 65 20 47 65 74 43 6f | 6d 70 6f 6e 65 6e 74 49 |he GetCo|mponentI|
|00006330| 6e 66 6f 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 74 |nfo func|tion ret|
|00006340| 75 72 6e 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |urns inf|ormation|
|00006350| 20 61 62 6f 75 74 20 74 | 68 65 20 63 6f 6d 70 6f | about t|he compo|
|00006360| 6e 65 6e 74 20 28 73 75 | 63 68 20 61 73 20 69 74 |nent (su|ch as it|
|00006370| 73 20 74 79 70 65 2c 20 | 73 75 62 74 79 70 65 2c |s type, |subtype,|
|00006380| 20 61 6e 64 20 6d 61 6e | 75 66 61 63 74 75 72 65 | and man|ufacture|
|00006390| 72 29 20 69 6e 20 61 20 | 63 6f 6d 70 6f 6e 65 6e |r) in a |componen|
|000063a0| 74 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 72 65 |t descri|ption re|
|000063b0| 63 6f 72 64 2e 20 54 68 | 65 20 66 75 6e 63 74 69 |cord. Th|e functi|
|000063c0| 6f 6e 20 61 6c 73 6f 20 | 72 65 74 75 72 6e 73 20 |on also |returns |
|000063d0| 74 68 65 20 63 6f 6d 70 | 6f 6e 65 6e 74 20 6e 61 |the comp|onent na|
|000063e0| 6d 65 2c 20 69 63 6f 6e | 2c 20 61 6e 64 20 6f 74 |me, icon|, and ot|
|000063f0| 68 65 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |her info|rmation |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.